X axis flip when fast zoom in out

I have run into a bug where if I xwheel zoom in quickly, when I then zoom back out, the x-axis has somehow flipped ( i.e. x-axis starts as increasing from left to right, but then flips so numbes are increasing from right to left)

The simplest example that replicates the problem is the following:

import numpy as np

p = figure(
    width=800,
    height=500,
    tools="xwheel_zoom",
    active_scroll="xwheel_zoom",
    output_backend="webgl",
)

j = np.array(list(range(100000)))
p.scatter(j, j)

show(p)

This is a recently reported bug:

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.