Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
silx.gui: support imageaggregate in _plot2d #4174
silx.gui: support imageaggregate in _plot2d #4174
Changes from 14 commits
8725dcc
df68c57
b07bc53
14bf6d6
044a912
af98201
3b43874
73e566f
fa45a02
6216f46
ba5ec27
5ab1d19
1e44061
ed3e275
ea0bd4c
ef444ad
8f58e87
6f074c1
c8d19dd
c934c5e
bb290ad
e6868fe
b4b2529
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Let's add the
AggregationModeAction
in the widget which controls the item in the plot._Plot2dView
above, it is the widget that controls the plot item.StackView
, so best to control it's plot item from this widget. Otherwise it adds implicit relations: When looking at theStackView
code, one can wonder why an `ImageDataAggregated item is used there.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.
Same here, the widget controlling the plot item is
ArrayImagePlot
, so the let it handle the aggregation mode as well (this would allow to enable/disable this action according to the displayed item image/scatter)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.
it doesn't sounds to be the right place to add the image item since it can be a scatter that is added
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.
It sounds this is where to create and add the image item: