New feature: Adds the ability to save plots directly from the plot_net() function with default image save dir and filename settings applied in config settings. Also adds the ability to specify if you wish to have the figure closed and or shown. Also performs general maintenance on plot.py to clarify docstrings, simplify code, apply minor formatting. Adds new unit tests for plot.py to expand coverage to 100%.
Details on changes:
Updated plot_net() by:
Adding new parameters: save, filepath, and dpi to accommodate saving plot to disk
Adding new parameters: show and close
General maintenance to clarify docstrings, simplify code, and apply minor formatting
Updates config.py settings to offer default filename and file directory path params when saving plots to disk
Fixes incorrect default value of col_colors() cmap param from spectral to Spectral.
Adds new unit tests for plot.py to expand coverage to 100%.
Merge #88 and #89 first before this one.
New feature: Adds the ability to save plots directly from the
plot_net()
function with default image save dir and filename settings applied in config settings. Also adds the ability to specify if you wish to have the figure closed and or shown. Also performs general maintenance onplot.py
to clarify docstrings, simplify code, apply minor formatting. Adds new unit tests for plot.py to expand coverage to 100%.Details on changes:
save
,filepath
, anddpi
to accommodate saving plot to diskshow
andclose
cmap
param fromspectral
toSpectral
.