-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add feature histogram widget #61
Add feature histogram widget #61
Conversation
Thanks for opening this PR - I'm busy with other projects at the moment (sorry 😞 ), but have funding to work on |
Hey @dstansby , thanks for your reply and congratulations to the grant! There's no hurry. Looking forward to 2023 🙌 |
Just coming back to |
Ah woops, I got that wrong above 😆 . Am I correct in understanding that this provides a histogram of the values in individual columns of a |
Correct! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks 👍 overall. I've left a few requests to remove stuff, that we should consider more generally for all the plots napari-matplotlib
produces.
# Logarithmic plot yes/no | ||
self.logarithmic_plot = QCheckBox("Logarithmic") | ||
self.logarithmic_plot.stateChanged.connect(self._draw) | ||
self.layout().addWidget(self.logarithmic_plot) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you remove this for now? Having a log-axes option is more widely applicable to all the plots napari-matplotlib
produces, so I'd like to think about it in more general terms. Would be good to open an issue with this as a feature request so we can discuss a bit before implementing it.
I'm going to close this in favour of #148 |
Hi @dstansby ,
this adds a FeatureHistogramWidget to napari-matplotlib to visualize quantitative measurements that have been stored in labels layers in napari. If that's out of scope, no problem, we could easily also put this code in napari-clusters-plotter or napari-skimage-regionprops. I just thought it fits best here.
Let me know what you think. Thanks!
Best,
Robert