matplotlib / matplotlib/ipympl

Comptability with mpl cursors

未关闭
#537 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Jupyter Notebook
星标
1.7k
派生
234
PR 合并指标
30 天内没有已合并 PR

描述

## 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
```

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

在所报告的 JupyterLab 设置中使用 ipympl 0.9.3 复现 3D 柱状图,并观察现有的 x/y/z 光标输出。将该行为与 mplcursors 进行比较,并明确应如何提供特定于柱状图的自定义信息。有可复现示例支持的已达成一致的兼容性路径,或范围明确的限制,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
jupyter-notebook, python
领域
data-visualization
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。