# create data frame with 3 columns that require different scaling
df = pd.DataFrame([[1,2,3],[1,2,3],[10,20,100]], index = ['a', 'b', 'c']).T
# initial scatter plot is rendered correctly
s = Scatter(data = df, x = 'a', y = 'b')
s.show()
initial scatter plot is rendered correctly
Afterwards, change x to column c. This does not update the axis, resulting in an incorrect plot:
s.x('c')
After changing x to column c, the xticks are not updated and are incorrect.
initial scatter plot is rendered correctly
Afterwards, change x to column c. This does not update the axis, resulting in an incorrect plot:
After changing x to column c, the xticks are not updated and are incorrect.