Closed mguijarr closed 6 years ago
We think about reworking this button as a set of icons in the tooltips.
Anyway, silx is a toolkit not an application, we maybe not have the same users and the same needs. I am afraid you consider using our widgets without integration on your side.
If that can be called programmatically I guess it is the instantiating program the one that has to take the responsibility to show the legends dockwidget.
@mguijarr
Plot1D behaves exactly like PyMca concerning the operations to show the legends so your users should be used to it.
@vallsv We appreciate a lot silx, and we are already doing integration with the toolkit... However we are also at the forefront of remarks from users, and this issue (and the previous one I added) is an attempt to tell you what users are asking to us. Please don't blame the messenger.
So, about legends display, I took a picture of pymca from the web and you can see the compact representation of the legend below the graph (you can see Data, Fit, Continuum, etc) :
I think we can agree the Plot1D widget at the moment displays legends very differently ?
@vasole: maybe behaviour is the same, but it does not look the same and I report to you our users prefer the pymca look and feel. Don't forget our users are your users too ;-)
That behavior was lost when dropping PyQwt. That means something like four years ago!!!
Current silx behavior is the same as PyMca.
The only thing silx is not respecting concerning the legends it is what I have reflected in issue #2011
This is how it looks now in PyMca.
The Qwt look and feel was nice when having a few curves. However, when having many curves, the legends were eating most of the plot space. Current way is safer in that sense besides paving the way to future improvements like replacing the contents of the legends widget by a tree widget with access to all the properties of the curves (as it is done with the 3D objects in the silx 3D visualization widgets)
Then this issue is about embedding legends in the plot? Is that a duplication with #1447?
@mguijarr thanks for the feedback. We do need feedback from users. I think we all first misunderstood as the legend display in silx comes from the one in the current version of PyMca... the screenshot makes it clear.
Anyway, there is a need for a compact legend display (2nd issue on the subject with #1447)
+1 for an alternative way to display the legend
I believe it is natural to expect the legend to be on the plot canvas; think about how most plots are displayed in publications. This would also help when the plot is saved to file.
When thinking about publications, you need more than that:
Users would like to see legends like in PyMCA, under Plot1D without the need to click on 'options' then 'legends', and with a compact view.