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

Guard against mirrored+automargin anchor:'free' axes #4273

Merged
merged 2 commits into from Oct 15, 2019

Conversation

etpinard
Copy link
Contributor

... anchor:'free' axes don't draw mirror ticks, so they never need to contribute to the automargin push and most importantly they don't get ax._anchorAxis filled in (which lead to this bug).

before (1.50.0): https://codepen.io/etpinard/pen/mddVJxQ?editors=1010
before before (1.49.5): https://codepen.io/etpinard/pen/QWWybrw?editors=1010
after: https://codepen.io/etpinard/pen/OJJMyMP?editors=1010 (noticed also legend fixup from #4160)

To go in v1.50.1 - cc @archmoj

- anchor:'free' axes don't draw mirror ticks, so they
  never need to contribute to the automargin push
@archmoj
Copy link
Contributor

archmoj commented Oct 11, 2019

@etpinard Thanks very much for following this issue and the PR.
💃

@etpinard etpinard merged commit cb2032a into master Oct 15, 2019
@etpinard etpinard deleted the ax-automargin-mirror+free-check branch October 15, 2019 15:15
@archmoj archmoj changed the title Guard against mirrored+autorange anchor:'free' axes Guard against mirrored+automargin anchor:'free' axes Oct 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants