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
# 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.
The text was updated successfully, but these errors were encountered:
initial scatter plot is rendered correctly
![image](https://cdn.statically.io/img/private-user-images.githubusercontent.com/20513804/334825083-dceab50f-e786-43d8-ad6a-b8989b41cae0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE0NTY5MTEsIm5iZiI6MTcyMTQ1NjYxMSwicGF0aCI6Ii8yMDUxMzgwNC8zMzQ4MjUwODMtZGNlYWI1MGYtZTc4Ni00M2Q4LWFkNmEtYjg5ODliNDFjYWUwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIwVDA2MjMzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTExZjY1MmViNTU0YmNkMzBhNGI5ZThiNTVhYjQyNjJhN2Q1NGFmMTY0ODljMWUzOWRlMDk5NDhlZjA4NDNhYWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.cLc7rG_IIEaleTHg4wh1N3DR2qmeY1trj_4cJ6yog3U)
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.
![image](https://cdn.statically.io/img/private-user-images.githubusercontent.com/20513804/334826038-732e4fbf-5857-41e0-ad81-dda3225da4ad.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE0NTY5MTEsIm5iZiI6MTcyMTQ1NjYxMSwicGF0aCI6Ii8yMDUxMzgwNC8zMzQ4MjYwMzgtNzMyZTRmYmYtNTg1Ny00MWUwLWFkODEtZGRhMzIyNWRhNGFkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIwVDA2MjMzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTA5OGI3YzEwMDFhYjE1ZmRiYmY1ZDYxOGQwOWYwNzNkOTUwMDBiZWFkNjIxMWU1MWY0ODY0NzM4ZGE3MTkxNzUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.FaM4cSxdw_GFfJRN_KJdV21V5pH3T-tOXZiW59uqbjM)
The text was updated successfully, but these errors were encountered: