Support animations
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- jupyter-notebook, python
- Domain
- data-visualization
Research direction
Start by tracing the repository's inline rendering path for the last statement's return value and how notebook display output is handled. Reproduce the shown FuncAnimation example, then verify that an Animation is automatically rendered as HTML without the manual boilerplate or an extra static figure.
Written by the indexing model from the issue text.
Description
To visualize animations in notebooks on
from IPython.display import HTML
[...]
ani = matplotlib.animation.FuncAnimation(fig, animate, frames=FRAMES)
plt.close(fig) # prevent ipython from drawing the static figure
HTML(ani.to_jshtml())
It would be nice to adapt the logic so that if the return value of the last statement is an Animation, automatically turn that animation into HTML and display it, so that the user doesn't have to do all the above boilerplate and can just write
matplotlib.animation.FuncAnimation(fig, animate, frames=FRAMES)
- Dominant language
- Jupyter Notebook
- Stars
- 31
- Forks
- 39
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ipython/matplotlib-inline
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
ipython/matplotlib-inline#59 ·
-
Publish changelog Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
ipython/matplotlib-inline#57 · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
ipython/matplotlib-inline#54 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
ipython/matplotlib-inline#44 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
ipython/matplotlib-inline#43 ·
All issues in ipython/matplotlib-inline
Similar issues
-
P3 size: 1 task
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
🦾 ai-candidate
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
scope: charts status: waiting for maintainer
Difficulty 2/5 1-3 hours Newbie friendliness 88/100