add button for switching between two figures

未关闭
#3,994 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
python

调研方向

首先检查请求中涉及的 figure 和 button API,特别是 fig1、fig2、traces 和 args 当前的表示方式。确定在同一个 plot 窗口中切换完整 figure 的逻辑应放在哪里。当 button 可以在不手动修改 traces 或 args 的情况下在 fig1 和 fig2 之间切换时,即表示完成。

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

描述

feature P3

Hi

In many situations researchers need to switch from a figure with various traces and even maybe various layout to another figure. It should be really helpful if we could assign fig object to the buttons instead of modifying data using args.

I mean that imagine I have fig1 and fig2. So, by clicking on a button the I could witch from fig1 to fig2 on same plot window but displayed alternatively. That would be great if instead of entering or modifying traces and arguments in args we could only assign fig1 or fig2.

With all the best,
Bijan

主要语言
Python
星标
18.8k
派生
2.8k
平均合并
16 小时 26 分钟
30 天内合并 PR
21

贡献指南

打开贡献指南

从这里开始

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

plotly/plotly.py 的其他 Issue

查看 plotly/plotly.py 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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