The plots.py module requires refactoring to harmonize common function arguments and enhance clarity in the arguments usage. The following tasks are proposed:
[x] Clean up code and unused functions
[x] Harmonize the args and kwargs from all functions.
[x] Create a configuration dict/object/named tuple that contains default plot arguments, and can also be used as input for advanced usage.
[x] Remove figure save utility. This should be done by the user outside the pycsep code.
[x] Add .tiff reader for plot_basemap()
[x] Add type hints
[x] Improve auto magnitude-sizing function for catalog map & time-series plotting.
[x] Refactor Alarm-based plots
[x] standardize helper functions
[x] Solve #261
[x] Solve #262
[x] Solve #258
[x] Address #259 issue with scipy.cumtrapz, also imported in the plots.py module
[x] Update and complete unit tests of module (#214)
The
plots.py
module requires refactoring to harmonize common function arguments and enhance clarity in the arguments usage. The following tasks are proposed:args
andkwargs
from all functions.scipy.cumtrapz
, also imported in theplots.py
module