You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
Colorbar does not update correctly when updating a dcc.Graph #702
See the original community post https://community.plot.ly/t/render-colorbar-issues/31293 and the test repo https://github.com/TedHaley/bugs reproducing the issue. Basically, two datasets with different data ranges, when switching between the two the colorbar gets stuck at the same data range and therefore the colors are not what they should be. In the demo app, try switching from plot 2 to plot 1 and from blank to plot 1. Don't know whether dcc is the right place for this or if I should open an issue also in plotly.js (but the two figures look good independently, it's just the update which does something weird).
See the original community post https://community.plot.ly/t/render-colorbar-issues/31293 and the test repo https://github.com/TedHaley/bugs reproducing the issue. Basically, two datasets with different data ranges, when switching between the two the colorbar gets stuck at the same data range and therefore the colors are not what they should be. In the demo app, try switching from
plot 2toplot 1and fromblanktoplot 1. Don't know whether dcc is the right place for this or if I should open an issue also inplotly.js(but the two figures look good independently, it's just the update which does something weird).