Skip to content
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

Documentation: Add example for plotting a gif #1045

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

CSSFrancis
Copy link
Member

@CSSFrancis CSSFrancis commented Mar 22, 2024


name: Add example for plotting a gif

A simple script for plotting an updating gif using matplotlib. This is useful for creating a visualization of some of your data.

This might be a better example in hyperspy but this is pretty much focused on 4-D datasets.

Checklist

  • Updated CHANGELOG.md
  • Marked as finished

Hopefully this should render in the example as an animation?

@coveralls
Copy link

Coverage Status

coverage: 94.142%. first build
when pulling 7ec82b4 on CSSFrancis:gif_example
into ba578ff on pyxem:main.

@CSSFrancis
Copy link
Member Author

CSSFrancis commented Mar 22, 2024

@ericpre I might move this up to hyperspy as an example? We could take part of @magnunor presentation on making publication quality plots from hyperspy and make that into a set of examples.

I use something like this a fair amount when trying to show a large dataset quickly.

@ericpre
Copy link
Contributor

ericpre commented Mar 22, 2024

Yes, this is a long overdue!
There could be examples (simple and advanced) but also a function to export an animation and that allow to compose a matplotlib figure, a bit like the ones in hs.plot.plot_*?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants