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

It is now necessary to pin jupyter version to "notebook<7" in order for extensions to work #246

Open
will-henney opened this issue Dec 5, 2024 · 0 comments

Comments

@will-henney
Copy link

Hi,

Thanks for making this wonderful resource available. I had a few issues with installing and running the notebooks due to changes in recent versions of the dependencies. I finally got everything working successfully after making a few tweaks to the installation process.

  1. Recent versions of jupyter do not seem to be compatible with the extensions you are using. What worked for me is to pin the notebook package to version 6 (obviously it is best to do this in an isolated virtual environment)
    pip install "notebook<7"
    
  2. I had to install the JSAnimation package
    pip install JSAnimation
    
  3. In some notebooks I had to change the plot style line to plt.style.use('seaborn-v0_8-talk') instead of just seaborn-talk
  4. In Kitchen_sink_proplem.ipynb I had to change all instances of HTML(anim.to_jshtml()) to just anim, which seems to have the desired effect. The animations appear to run fine like that.
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

1 participant