It seems that a call to waitforbuttonpress hinders the rendering of the figure in the notebook. (However, the figure shows up in the log console)
Trying the example from matplotlib gallery Define a triangle by clicking three points reproduces the issue.
Other interactive backends do not show this problem (tried with qt and tk)
Versions
3.8.8 (default, Apr 13 2021, 19:58:26)
[GCC 7.3.0]
ipympl version: 0.8.7
jupyter core : 4.7.1
jupyter-notebook : 6.3.0
qtconsole : 5.0.3
ipython : 7.22.0
ipykernel : 5.3.4
jupyter client : 6.1.12
jupyter lab : 3.3.2
nbconvert : 5.6.1
ipywidgets : 7.6.3
nbformat : 5.1.3
traitlets : 4.3.3
Known nbextensions:
config dir: /home/dejan/.jupyter/nbconfig
notebook section
jupyter-js-widgets/extension enabled
- Validating: OK
config dir: /home/dejan/anaconda3/envs/min_jlab/etc/jupyter/nbconfig
notebook section
bqplot/extension enabled
- Validating: OK
jupyter-matplotlib/extension enabled
- Validating: OK
jupytext/index enabled
- Validating: OK
nbdime/index disabled
rise/main enabled
- Validating: OK
jupyter-js-widgets/extension enabled
- Validating: OK
JupyterLab v3.3.2
/home/dejan/anaconda3/envs/min_jlab/share/jupyter/labextensions
jupyter-matplotlib v0.10.5 enabled OK
jupyterlab-jupytext v1.3.1 enabled OK (python, jupytext)
bqplot v0.5.27 disabled OK (python, bqplot)
nbdime-jupyterlab v2.1.0 enabled OK
@jupyterlab/git v0.30.0 enabled OK (python, jupyterlab-git)
@jupyter-widgets/jupyterlab-manager v3.0.0 enabled OK (python, jupyterlab_widgets)
Other labextensions (built into JupyterLab)
app dir: /home/dejan/anaconda3/envs/min_jlab/share/jupyter/lab
jupyterlab-plotly v4.14.3 enabled OK
plotlywidget v4.14.3 enabled OK
Disabled extensions:
bqplot (all plugins)
Describe the issue
It seems that a call to
waitforbuttonpress
hinders the rendering of the figure in the notebook. (However, the figure shows up in the log console)Trying the example from matplotlib gallery Define a triangle by clicking three points reproduces the issue.
Other interactive backends do not show this problem (tried with qt and tk)
Versions