plotly / plotly/plotly.py

legend and yaxis titles don't match in color

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

@LiamConnors 已经在做这个了。

开始于 2024年7月11日。

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

描述

A community member has pointed out via message to Jiny that the yaxis2 and yaxis3 title colors don't match the yaxis2 and yaxis3 legend color in this example.

The community member suggested the following:

the colors follow the ‘Plotly’ color sequence (#636EFA, #EF553B, #00CC96, #AB63FA).
Setting titlefont and tickfont to those values in the order of the axes works.

A similar issue can be found in the first example in the javascript docs; the second example of the javascript docs has a yaxis5 title which does not exist in the legend.

贡献指南

打开贡献指南

从这里开始

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

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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