This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Description
discussion taken from here: https://community.plot.ly/t/preserve-trace-visibility-in-callback/5118/5
More generally, I wonder if we should just have some kind of flag that tells the graph whether it should reset user interactions or not (like zooming, panning, clicking on legends, clicking on mode bar items). In some cases, like if you were to switch the chart type or display completely different data, you’d want to reset the user interactions. In other cases, you wouldn’t necessarily want to.