Wykres commitów

10 Commity (74128ba966c1153afd8492943e4b6aa159e21df9)

Autor SHA1 Wiadomość Data
Sepand Haghighi a7a1ae56ee
Error handling (#151)
* fix : load_config function updated

* fix : load_data function updated

* fix : tests updated

* fix : tests updated

* fix : new tests added

* doc : CHANGELOG updated
2022-09-15 13:52:24 +04:30
Sadra Sabouri d67d69c9dd
Point Colors 🌈 (#143)
* add : `DEFAULT_CMAP` added.

* add : `filter_cmap` added.

* edit : `cmap` added to proper functions accordingly.

* add : `cmap` added to the realted methods.

* log : changes logged. (#75)

* add : `c` added to `plot`, now list of colors are supported.

* add : `cmap` added to save and load (config and data).

* fix : minor bug related to cmap always being `DEFAULT_CMAP` fixed.

* change : minor change in `filter_cmap`.

* fix : `str` type cmap suuport added.

* add : serializing the cmap.

* fix : `Colormap` issue fixed.

* change : `DEFAULT_CMAP`: `viridis` --> `cm.get_cmap("viridis", 256)`.

* fix : minor bugs fixed.

* edit : changes are no applied on all entries of a `cmap.colors`.

* add : minor tests added.

* edit : minor edits in tests.

* fix : minor issues in tests fixed.

* add : `_serialize_color` function.

* test : add few tests.

* fix : trailing whitespace fixed.

* test : a test added.

* edit : minor edit in `filter_cmap`.

* remove : `c` parameter removed.

* fix : minor typo fixed.
2022-08-28 00:27:20 +04:30
Sadra Sabouri 819792d832
Warnings (#135)
* add : BOTH_COLOR_COMPLEMENT_WARNING added.

* add : INVALID_COLOR_TYPE_ERROR added. (#134)

* add : COLOR_NOT_FOUND_WARNING added. (#134)

* cahnge : INVALID_COLOR_TYPE_ERROR -> INVALID_COLOR_TYPE_WARNING.

* change : warning -> error.

* test : tests added.

* fix : minor typo in error message fixed.

* edit : INVALID_COLOR_TYPE_ERROR edited.

* edit : BOTH_COLOR_COMPLEMENT_WARNING edited.
2022-05-28 16:24:18 +04:30
Sadra Sabouri 78f4c9a4d0
Config json Added (#80)
* fix : typo fixed in docstring.

* unifx : never mind :).

* remove : extra lines removed from Magic section.

* add : samilaConfigError added.

* edit : DEFAULT_PROJECTION edited.

* add : CONFIG_TYPE_ERROR added.

* add : filter_float function added.

* add : save_config_file function added.

* add : load_config function added.

* add : minor imports addded to functions.py.

* add : some imports added to genimage.py.

* fix : whitespace removed.

* add : config parameter added.

* add : save_config method added.

* edit : minor edits in genimage.py.

* edit : minor edits in save/load config.

* edit: minor edits in save/load config.

* add : filter_size added to functions.

* update : minor updated due to last change.

* edit : minor edit in filter_size.

* add : plot_params_filter function added.

* add : generate_params_filter added.

* remove : unneccessary errors and warnings removed.

* update : GenerativeImage __init__ updated due to last commit.

* add : _GI_initializer added.

* edit : make load_data structure similar to load_config.

* fix : typo fixed in functions.

* test : some tests added.

* test : tests added for warning.

* fix : minor bug fixed.

* add : filter_size tests added.

* add : error tests added.

* add : save_config part added.

* fix : typo fixed.

* tests : minor tests added.

* move : function[12]_str moved to __init__ root.

* fix : typo fixed in errors.py.

* fix : typo fixed in README.md.

* fix : typo fixed in CHANGELOG.md.

* add : matplotlib_version attribute added.

* add : samilaPlotError added.

* add : PLOT_DATA_ERROR added.

* update : minor updates due to latest changes.

* remove : extra tests removed.

* edit : PLOT_DATA_ERROR edited.

* test : tests added.

* edit : minor edits in save_config/data.

* add : new error messages added.

* test : tests added.

* fix : typo fixed.

* replace : DATA_NO_DATA_ERROR -> SAVE_NO_DATA_ERROR.

* edit : minor edits in plot_params_filter function.

* add : two parameter added.

* edit : __init__ docstring edited.

* fix : typo fixed in genimage.

* fix : typo fixed in params.py.

* fix : typo fixed in tests.

* fix : typo fixed in CHANGELOG.md.
2022-01-04 18:54:12 +03:30
sadrasabouri 8f596daf20 update : tests updated. 2021-10-23 22:00:25 +03:30
sadrasabouri 23395954ea fix : error_test.py fixed. 2021-10-22 14:19:59 +03:30
sadrasabouri f2f4c360e2 edit : tiny edit on error_test.py. 2021-10-22 14:03:17 +03:30
sadrasabouri df6c092fbf update : tests updated. 2021-10-22 14:00:55 +03:30
sadrasabouri a5e9c9e14a edit : parsing edited. 2021-10-22 13:54:44 +03:30
sadrasabouri 9e4f85e1fd add : error_test.py. 2021-10-22 13:49:40 +03:30