ipympl
ipympl copied to clipboard
Matplotlib Jupyter Integration
vispy has made a library that solves many of the same issues as ipympl: https://github.com/vispy/jupyter_rfb Probably good to look over that and maybe learn things. Or more dramatically to start...
## Describe the issue Plotting a 30M row data frame causes memory only to increase. Also memory isn't collected by `gc.collect`. As discussed with matplotlib guys in https://github.com/matplotlib/matplotlib/issues/21259 (and Jupyter...
As per the title, consider the following snippet: ``` import time import ipympl import matplotlib.pyplot as plt fig, ax = plt.subplots(1, 1, figsize=(5, 5)) data = [] plt.show() for idx...
```python import matplotlib.pyplot as plt fig, ax = plt.subplots() n = 0 def printer(event): global n print(f'in event {event}') n += 1 fig.canvas.mpl_connect('button_press_event', printer) ``` when run in IPython prints...
## Describe the issue Widgets are displayed with a toolbar, which has a save/download button that saves the figure directly to my Downloads folder. I love this feature, but I...
I have the following code in jupyterlab. This allows me to move a slider and update a graph in realtime. However the framerate is quite low (1fps) if I call...
## Describe the issue If I have two notebooks open in jupyterlab, with the kernel of the second chosen as the kernel of the first (using jupyterlab gui kernel dropdown...
## Describe the issue I am having an issue specifically with the Resize callback. The other callback options appear to work as expected. For example replacing `'resize_event'` with `'draw_event'` in...
Is there some way of firing a callback when the canvas has been resized?
## Describe the issue The plots tear heavily when using interactive rois after creating a new environment (`conda create --name testplot ipympl matplotlib jupyterlab`). First noticed in hyperspy/hyperspy#2706, it appears...