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

Legend causes squeezed plot #29

Open Chris-N-K opened 11 months ago

Chris-N-K commented 11 months ago

The current legend placement causes the plot to be squeezed a lot if the widget area is too small or the label names are long.

Best case scenario the legend should move over the plot if there is not enough space and besides the plot if there is enough space.

If I remember correctly I was not able to achieve this and thought the current solution would work but apparently doesn't.

Thus, the legend should be moved back to the upper right corner of the plot with the next update.

aloboa commented 3 months ago

+1

Chris-N-K commented 3 months ago

@aloboa I'm currently reworking a lot of things, this will be fixed with the changes :) If it bothers you too much you could try to install from the layer selection rework branch.

aloboa commented 3 months ago

I would not know how to do that. A release with this issue fixed would be much appreciated, I eagerly wait for it!

Chris-N-K commented 3 months ago

You can install the current in progress version from the development branch with:

pip install git+https://github.com/Chris-N-K/napari-time-series-plotter@layer_selection_rework

Alternatively you could use the legend clipping feature to hide some part of the layer name in the legend.