matplotlib / ipympl

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

Comptability with mpl cursors #537

Open eyalk11 opened 11 months ago

eyalk11 commented 11 months ago

Describe the issue

I use 3d bars plot. When I use the plugin I see x=,y=,z=xxxx which indicates the position of the mouse. I want to see custom information depending on the bar I am on . mpl cursors doesn't seem to work, and couldn't find other reference to such option.

Versions

 3.10.0rc2 (tags/v3.10.0rc2:839d789, Sep  7 2021, 18:51:45) [MSC v.1929 64 bit (AMD64)]
ipympl version: 0.9.3
Selected Jupyter core packages...
IPython          : 7.27.0
ipykernel        : 6.25.2
ipywidgets       : 8.0.7
jupyter_client   : 8.3.1
jupyter_core     : 5.3.0
jupyter_server   : 2.7.3
jupyterlab       : 4.0.5
nbclient         : 0.7.4
nbconvert        : 7.8.0
nbformat         : 5.7.3
notebook         : 6.4.2
qtconsole        : not installed
traitlets        : 5.9.0
Known nbextensions:
  config dir: C:\Users\ekarni\AppData\Local\Programs\Python\Python310\etc\jupyter\nbconfig
    notebook section
      bqplot/extension enabled
      - Validating: ok
      ipydatagrid/extension enabled
      - Validating: ok
      jupyter-matplotlib/extension enabled
      - Validating: ok
      pydeck/extension enabled
      - Validating: problems found:
        - require?  X pydeck/extension
      voila/extension enabled
      - Validating: problems found:
        - require?  X voila/extension
      jupyter-js-widgets/extension enabled
      - Validating: ok
JupyterLab v4.0.5
C:\Users\ekarni\AppData\Local\Programs\Python\Python310\share\jupyter\labextensions
        bqplot v0.5.41 enabled  X (python, bqplot)
        ipydatagrid v1.1.16 enabled  X
        jupyter-matplotlib v0.11.3 enabled ok
        jupyterlab_pygments v0.2.2 enabled  X (python, jupyterlab_pygments)
        @jupyter-widgets/jupyterlab-manager v5.0.8 enabled ok (python, jupyterlab_widgets)
        @voila-dashboards/jupyterlab-preview v2.3.4 enabled ok (python, voila)

   The following extensions are outdated:
        bqplot
        ipydatagrid
        jupyterlab_pygments