matplotlib / ipympl

Matplotlib Jupyter Integration
https://matplotlib.org/ipympl/
BSD 3-Clause "New" or "Revised" License
1.55k stars 224 forks source link

No animation control widgets in Jupyterlab #510

Open guraltsev opened 1 year ago

guraltsev commented 1 year ago

Describe the issue

Funcanimate does not display animation control widgets in Jupyterlab

It would be possible to implement them by hand using buttons, widgets, and the resume and pause functions but functionality to "seek" is not documented (not available?).

Versions

 3.11.0 | packaged by conda-forge | (main, Oct 25 2022, 06:12:32) [MSC v.1929 64 bit (AMD64)]
ipympl version: 0.9.2
Selected Jupyter core packages...
IPython          : 8.8.0
ipykernel        : 6.20.2
ipywidgets       : 8.0.4
jupyter_client   : 7.4.9
jupyter_core     : 5.1.3
jupyter_server   : 2.1.0
jupyterlab       : 3.5.2
nbclient         : 0.7.2
nbconvert        : 7.2.8
nbformat         : 5.7.3
notebook         : 6.5.2
qtconsole        : 5.4.0
traitlets        : 5.8.1
Config option `kernel_spec_manager_class` not recognized by `ListNBExtensionsApp`.
Known nbextensions:
  config dir: C:\opt\miniconda3\envs\jupyter_base\etc\jupyter\nbconfig
    notebook section
      jupyter-matplotlib/extension enabled
      - Validating: ok
      nbdime/index enabled
      - Validating: ok
      jupyter-js-widgets/extension enabled
      - Validating: ok
Config option `kernel_spec_manager_class` not recognized by `ListLabExtensionsApp`.
[W 2023-01-21 20:21:43.265 LabApp] Config option `kernel_spec_manager_class` not recognized by `LabApp`.
JupyterLab v3.5.2
C:\opt\miniconda3\envs\jupyter_base\share\jupyter\labextensions
        jupyter-matplotlib v0.11.2 enabled ok
        jupyterlab_pygments v0.2.2 enabled ok (python, jupyterlab_pygments)
        nbdime-jupyterlab v2.1.1 enabled ok
        @jupyter-widgets/jupyterlab-manager v5.0.5 enabled ok (python, jupyterlab_widgets)
        @jupyterlab/git v0.41.0 enabled ok (python, jupyterlab-git)

Other labextensions (built into JupyterLab)
   app dir: C:\opt\miniconda3\envs\jupyter_base\share\jupyter\lab
ianhi commented 1 year ago

@guraltsev can you please post a minimal code snippet that reproduces this issue?