#5615·plotly.py

[BUG]: marker.colorbar.thicknessmode='pixels' 在 Plotly.restyle 之后会导致散点矩阵布局收缩,而初始渲染则正常

作者: ym-xie创建于 2026年6月7日更新于 2026年9月3日
标签buggood first issueP3good for agentsize: 5
  1. Install the screenshot dependencies if needed: pip install plotly pandas playwright && playwright install chromium.
  2. Run this script. It saves two screenshots in the current directory: plot1.png: ZZTERM7ZZ-side initialization sets marker.colorbar.thicknessmode='pixels' before the first render. This renders normally. plot2.png: the same base figure renders first, then ZZTERM8ZZ applies the same value with Plotly.restyle. This shows the collapsed layout.
  3. Compare the two generated screenshots.

内容来源: plotly/plotly.py