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 }}
Repository navigation
Scroll zoom does not work properly when minimum and maximum range is enabled #7440
Use the mouse wheel to zoom out beyond allowed range.
The plotted trace is zoomed out even beyond the range. After a while, the plotting is "corrected" to the right zoom level. The effect is stronger if you zoom out faster. What is interesting, the axes and the grids are always scaled correctly. It means that plotting of the grid lines is always aware of the range limits but plotting the trace not.
The same effect can be reproduced while zooming IN relatively fast, even if the plot is "in the range". Then, the plotted trace exceeds the area defined by the X and Y axes and then i.e. the bigger than expected, but after a while, plotting is corrected. With this attached example, it is hard to observe this scenario. (Maybe bigger amount of data or slowness of the refreshing of the plot plays a role - with my custom environment, I can see it constantly).
The observed flickering is very annoying and shows a serious weakness in this function.
I have checked the different versions of the plotly library. The issue is easy to reproduce from the very first version introducing the minimum and maximum range, i.e. version v2.26.0 #6547
The same effect can be reproduced while zooming IN relatively fast, even if the plot is "in the range".
The problem has been narrowed down to another feature of the scatter plot. It most likely has other causes. To properly address the issue, a separate bug report was created #7449
changed the title [-]Scroll zoom does not work properly when minimum and maximum range is enabled.[/-][+]Scroll zoom does not work properly when minimum and maximum range is enabled[/+]on Jul 3, 2025
Activity
pawel-paciorek-at-metrohm commentedon Jun 25, 2025
The problem has been narrowed down to another feature of the scatter plot. It most likely has other causes. To properly address the issue, a separate bug report was created #7449
[-]Scroll zoom does not work properly when minimum and maximum range is enabled.[/-][+]Scroll zoom does not work properly when minimum and maximum range is enabled[/+]emilykl commentedon Aug 28, 2026
@pawel-paciorek-at-metrohm Is this issue also resolved in the latest plotly.js (v4.0.0)?