Questions tagged [ipympl]

4 questions
3
votes
1 answer

VS Code Jupyter notebook dark theme for interactive elements

I'm using a dark theme for entire VS Code and I set "jupyter.themeMatplotlibPlots": true to also make the matplotlib plots dark. This setup works great as long as I don't use any interactive elements. Examples of bad behaviour For example if I run…
Nejc Jezersek
  • 621
  • 1
  • 9
  • 19
0
votes
0 answers

How can I display a Matplotlib fig.canvas inside a ipywidgets.VBox in Google Colab?

I would like to have Matplotlib figures as part of a small GUI constructed from ipywidgets. So far, I can display a plot when I use the display() function directly on the plot Matplotlib widget. If I put the Matplotlib widget inside a…
0
votes
0 answers

error of accessing interactive matplotlib from Jupyter Lab on GCP Linux

I am running an example code to access ipympl from Jupyter Lab on GCP/Linux. The code is at https://github.com/matplotlib/ipympl/blob/main/docs/examples/full-example.ipynb %matplotlib widget import matplotlib.pyplot as plt import numpy as np import…
mtnt
  • 31
  • 5
-1
votes
1 answer

Jupyter Lab controls no longer work ipywidgets with ipympl

I have consistently used the following workflow for fully updating my Jupyter Lab working environments: $ rmvirtualenv my_env $ mkvirtualenv --python=`which python` my_env [my_env] $ pip install -r requirements.txt [my_env] $ jupyter lab…
orome
  • 45,163
  • 57
  • 202
  • 418