matplotlib / matplotlib/ipympl
MATLAB-like Vertical/Horizontal Zoom for strictly Vertical/Horizontal Drag
还没有人认领这个 Issue。
- 主要语言
- Jupyter Notebook
- 星标
- 1.7k
- 派生
- 234
- PR 合并指标
- 30 天内没有已合并 PR
描述
In the MATLAB figure controls, the zoom button allows me to only zoom horizontally if the mouse is moved horizontally or vertically. This is nice to have so that I don't have to drag across the vertical/horizontal extent every time I want to go to a specific spot.
I'd greatly appreciate this feature here as I use this extension for virtually all of my notebook development and find myself wanting to do this frequently. Thanks!

贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,在 notebook 中复现缩放按钮的行为,并将其与 issue 中描述的 MATLAB 图形控件进行比较。跟踪 ipympl 的缩放交互,以确定鼠标水平移动与垂直移动分别是如何处理的;当严格水平或垂直的拖动只缩放对应的轴而不影响另一条轴时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- jupyter-notebook
- 领域
- frontend
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100