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

Coerce hoverformat on visible-false axes #2329

Merged
merged 3 commits into from
Feb 5, 2018

Conversation

etpinard
Copy link
Contributor

@etpinard etpinard commented Feb 2, 2018

fixes #2317

visible: false axes should still support hoverformat as demonstrated in the #2317 fiddle.

To do so, this PR move the coerce('hoverformat') out of handleTickLabelDefaults -- which does not get called for visible: false axes -- to the base axis default handler.

... so that `visible: false` have access to it.
.. to be consistent with cartesian axes.
... as hoverformat is no longer coerced there, making this
    option obsolete!
@etpinard etpinard added bug something broken status: reviewable labels Feb 2, 2018
@etpinard
Copy link
Contributor Author

etpinard commented Feb 2, 2018

Note that commit 86067a6#diff-9169f5ae07a510e5c981221d9970ee67

was culprit for #2317 from PR #2200

@alexcjohnson
Copy link
Collaborator

Very nice - 💃 . Some good cleanup in here as well 🎁

@etpinard etpinard merged commit b369dd6 into master Feb 5, 2018
@etpinard etpinard deleted the hoverformat-visible-false-axes branch February 5, 2018 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug - Hoverformat for second axis fails if axis is not visible
2 participants