Chris-N-K / napari-time-series-plotter

A napari Plugin for visualisaton of pixel values over time (t+ nD) as graphs.
BSD 3-Clause "New" or "Revised" License
10 stars 5 forks source link

Gui update #10

Closed Chris-N-K closed 2 years ago

Chris-N-K commented 2 years ago

Complete rework of the Widget GUI. Made one man widget containing the selector and plotter widget as well as a new options widget. Plotter and options are located in tabs for clean appearance.

Additional the underlying functionality of the widgets was completely reworked as well. Switched from vanilla matplotlib canvas to NapariMPLWidget of napari_matplotlib. Matplotlib toolbar now integrated. -> easy way to save plots to disc

Options widget enables custom axe scaling and label truncation if layers have long names. Options will not be stored between sessions yet (possible future feature).

This pull request will close issue #6 Update widget GUI.

Chris-N-K commented 2 years ago

Reworked dependencies, dropped napari completely. Local tox test run successful now will additional test requirements in setup.cfg.

codecov-commenter commented 2 years ago

Codecov Report

Merging #10 (e015a66) into main (5ed72d3) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              main       #10    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files            3         7     +4     
  Lines          208       324   +116     
==========================================
+ Hits           208       324   +116     
Impacted Files Coverage Δ
src/napari_time_series_plotter/__init__.py 100.00% <100.00%> (ø)
...ari_time_series_plotter/_tests/test_dock_widget.py 100.00% <100.00%> (ø)
...rc/napari_time_series_plotter/_tests/test_utils.py 100.00% <100.00%> (ø)
.../napari_time_series_plotter/_tests/test_widgets.py 100.00% <100.00%> (ø)
src/napari_time_series_plotter/dock_widget.py 100.00% <100.00%> (ø)
src/napari_time_series_plotter/utils.py 100.00% <100.00%> (ø)
src/napari_time_series_plotter/widgets.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Chris-N-K commented 2 years ago

The TODOs in test_widgets will remain for now and do not impair the merge into main. At a late stage the addition of more meaningful test would be a good idea.

Contributions welcome.