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

Ignore sharex unless subplots=True #60299

Open
mdruiter opened this issue Nov 13, 2024 · 1 comment · May be fixed by #60323
Open

Ignore sharex unless subplots=True #60299

mdruiter opened this issue Nov 13, 2024 · 1 comment · May be fixed by #60323

Comments

@mdruiter
Copy link
Contributor

mdruiter commented Nov 13, 2024

I was trying sharex=True in df.plot(). That confused me. I think it's because sharex was only designed to work with subplots=True. It does something with subplots=False (the default) as well, except it's not clear what and it doesn't make much sense.

My suggestion would be, in the case that subplots=False, to either ignore sharex (and sharey?) altogether or warn when it is specified (or both).

@TinoDerb
Copy link

I would say that at least a warning should be thrown to the user that sharing axis should be coupled with subplots=True. Am not a very big github user, this issue can be remedied by a simple condition and warn statement.

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

Successfully merging a pull request may close this issue.

2 participants