- Notifications
You must be signed in to change notification settings - Fork23
FeaturesLineWidget#200
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Co-authored-by: David Stansby <dstansby@gmail.com>
- make LineBaseWidget- make LineWidget for plotting intensities under shapes layer- make FeaturesLineWidget for plotting features from labels layer (grouped by a label column matching labels in layer)
dstansby left a comment
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.
Just having a play around with this, and I'm confused by what the "object-id" selector is for? Why are there not just two selectors that select what is being plotted on the x/y axes?
And following on from that, how is this different from theFeaturesScatterWidget? Could we add the functionality desired by just doing exactly the same asFeaturesScatterWidget, but joining the scatter points with a line?
| """ | ||
| Current z-step of the napari viewer. | ||
| """ | ||
| returnself.viewer.dims.current_step[0] |
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.
| return self.viewer.dims.current_step[0] |
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.
I assume the lineself.viewer.dims.current_step[-3] is a bug fix below for datasets that have >= 4 dimensions?
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.
We can drop it for now since it does no affect this PR anymore. It had to do with other dimensions, yes
zoccoler commentedAug 1, 2023
Good question. So the By the way, I noticed I was still calling 'label' in other places, so I renamed them to
Hmm I am not sure. Over there, the |
zoccoler commentedSep 16, 2023
Hi@dstansby , Did you have some time to consider this feature? Thanks for your time on reviewing this! |
zoccoler commentedOct 25, 2023
This would close#60 |
Hi@dstansby ,
As suggested in#184 , I am transferring the code here without the
LineWidget.This PR brings a
BaseLineWidgetand aFeaturesLineWidgetto napari-matplotlib, where theFeaturesLineWidgethas anobject-idfield capable of grouping objects before plotting, thus displaying individual line plots for each object.Best,
Marcelo