Skip to content

[WIP] wip on viz libraries#4762

Draft
emmanuelle wants to merge 11 commits intoscikit-image:mainfrom
emmanuelle:doc-viz
Draft

[WIP] wip on viz libraries#4762
emmanuelle wants to merge 11 commits intoscikit-image:mainfrom
emmanuelle:doc-viz

Conversation

@emmanuelle
Copy link
Copy Markdown
Member

Not ready for review just some experiments with different viz libraries and sphinx-gallery.

@pep8speaks
Copy link
Copy Markdown

pep8speaks commented May 28, 2020

Hello @emmanuelle! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 23:1: E402 module level import not at top of file
Line 24:1: E402 module level import not at top of file

Line 156:1: E402 module level import not at top of file

Comment last updated at 2020-12-03 16:40:32 UTC

@emmanuelle emmanuelle marked this pull request as draft May 28, 2020 20:53
Base automatically changed from master to main February 18, 2021 18:23
lagru pushed a commit that referenced this pull request Jan 25, 2023
This PR is an addition to the 3D image processing introduction tutorial, which landed with #4850.
It relates to #4850 (comment) and #4762.
I've made a slice explorer with Plotly so it renders even in the static HTML page.
In future iterations, I'll add a 3D visualization showing the position of the selected slice within the dataset.

I've chosen the density_heatmap function so I could readily use its animation_frame argument for the slider interaction (selection). This function is made for aggregation, which I'm bypassing by setting the number of bins to the data size...

Ideally, I wanted to use imshow to view the image slices (planes) but this wouldn't offer such a convenient abstraction in terms of slider interaction.

One issue when trying with this is that occasionally the Plotly plot would behave strangely when dragging the animation slider (the slider itself sometimes moved to a lower position on the screen mid-drag and the image would quit updating). Hitting the "home" button at top to reset the axes should restore it to a working state again. It might be somehow related to dragging too quickly as I never saw the issue if I just clicked around on different frames, only when dragging the slider.

Co-authored-by: Emmanuelle Gouillart <[email protected]>
Co-authored-by: Juan Nunez-Iglesias <[email protected]>
Co-authored-by: Gregory R. Lee <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💪 Work in progress 📄 type: Documentation Updates, fixes and additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants