Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in sharing axis #465

Open
cvanelteren opened this issue Sep 26, 2024 · 0 comments
Open

Error in sharing axis #465

cvanelteren opened this issue Sep 26, 2024 · 0 comments

Comments

@cvanelteren
Copy link

Description

Sharing axis does not perform well in scatter or plot. I noticed this the other day when plotting data that is in different ranges. First, we notice how the sharing of the axis will differ depending on the order or plotting. Second, we notice how in both cases the range is not properly adjusted.

image
image

Steps to reproduce

import proplot as plt, numpy as np

x = np.random.rand(10)
y = np.random.rand(10)
fig, ax = plt.subplots(ncols = 2)
ax[0].scatter(x, y)
ax[1].scatter(x, y * 10)
fig.show()

fig, ax = plt.subplots(ncols = 2)
ax[0].scatter(x, y * 10)
ax[1].scatter(x, y)
fig.show()

Proplot version

mpl 3.9.2
proplot '0.9.91.post4+dirty'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant