This PR updates the plotting visualization for BioSPPy with improvements to plotting layouts, colors and user interaction. The most relevant changes include:
A new layout for most signals that also avoids redundant and repeated information being displayed (e.g., titles and legends) (plotting.py).
A color palette with three shades of each color is proposed and applied to the plots (plotting.py).
The default plotting specs of matplotlib are defined with the runtime configuration (rcParams) (plotting.py).
The user can choose to display the signal's amplitude units to the plots (signals/* and plotting.py).
The plots include the BioSPPy and ScientISST logos (plotting.py).
The PPG segmentation function no longer performs plotting of the templates (signals/ppg.py), instead the segments are computed and the plotting is made in the plotting module (plotting.py). Also, the extract_templates function is now private, given that is only meant to be used with ppg_segmentation (signals/ppg.py).
The default for interactive plots was disabled (signals/* ).
Given the extent of this update, it is advisable to recheck the plot generation for the three supported OS (macOS, Windows and Linux).
Note: the plotting updates only concern the plotting.py module and no changes were made to the interactive plotting sub-package (_interplotting/*).
This PR updates the plotting visualization for BioSPPy with improvements to plotting layouts, colors and user interaction. The most relevant changes include:
Given the extent of this update, it is advisable to recheck the plot generation for the three supported OS (macOS, Windows and Linux).
Note: the plotting updates only concern the plotting.py module and no changes were made to the interactive plotting sub-package (_interplotting/*).