ageron / ageron/handson-ml

Chapter 16: issue with animation

Open
#372 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
25.6k
Forks
12.7k
PR merge metrics
No merged PRs in 30d

Description

I noticed that as using "%matplotlib nbagg" in chapter 16, I am not able to see images and animation. While the images are saved in the directory but now shown in the notebook, animation is not working.
An error is shown: Javascript Error: IPython is not defined

I tried replacing "%matplotlib nbagg" with "%matplotlib inline". This solves the problem with the image visualization, but the animation obviously does not work and visualizes only one frame. Any help?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Chapter 16 notebook with `%matplotlib nbagg` and inspect the reported `IPython is not defined` JavaScript error. Confirm that notebook images render and that the animation displays all frames; the repository is deprecated, so check whether the issue still applies in the current environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, matplotlib
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.