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

Fixing secondary X and Y axis on subplots #2401

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

romanzenka
Copy link

@romanzenka romanzenka commented Nov 8, 2024

Addressing #1203, fixing the issue by renaming the overlaying axis layout attribute as the X and Y axes are getting renamed.

I added testthat, but I am not confident that I go the gist of it right.

This fix might break people's workarounds around this bug, where they set overlaying to the already renamed name directly before calling the plot. I honestly have no idea how to fix this and keep the workarounds going, I do not think it is actually possible, so people would have to be warned not to apply their workarounds in a new version if this code makes it.

I am behind corporate firewall so I was not able to run your Docker container just yet, I apologize. My hope is that this does not create any visual differences, because it would only fail if someone is testing specifically for the buggy dual Y axis subplot.

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 this pull request may close these issues.

1 participant