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

check rendering of examples on website #24

Open
mvdoc opened this issue May 13, 2020 · 1 comment
Open

check rendering of examples on website #24

mvdoc opened this issue May 13, 2020 · 1 comment

Comments

@mvdoc
Copy link
Contributor

mvdoc commented May 13, 2020

Example: [https://gallantlab.github.io/pymoten/auto_examples/introduction/demo_show_filters.html#sphx-glr-auto-examples-introduction-demo-show-filters-py](Visualizing the motion energy filters)

  • the first image doesn't show anything
  • there's an extra output at the end due to setting ticks

BTW this example is really cool

anwarnunez added a commit that referenced this issue Jul 7, 2020
@anwarnunez
Copy link
Contributor

yo',

the first image is an artifact. this is where the animation is played. the figure is then captured by sphinx gallery and embedded in the html. in order to remove it, we need to modify the first code block to include parts of the last code block, which adds unnecessary complexity to the example. (the first version of the example was like that).

sphinx gallery recently added animation support. however, it did not work here. the current animation support in sphinx gallery might be restricted to a subset of matplotlib animations. or maybe i didn't follow their instructions correctly.

I'll leave this issue open so that we can look into it in the future.

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

No branches or pull requests

2 participants