-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Fix for #7416: Hidden ticklabels with ticklabelposition "inside" take up plot space #7417
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
Open
my-tien
wants to merge
13
commits into
plotly:master
Choose a base branch
from
my-tien:label-spacing
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 11 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
150ccd3
Fixes #7416
my-tien 684d05c
Update some tests in axes_test.js, because hidden labels no longer ta…
my-tien a287e90
Add draftlog for 7417
my-tien e157374
Instead of removing text of hidden ticklabels, just set their display…
my-tien 049b7fe
Fix error: d3 selection.style called as getter
my-tien 23a29f2
axes_test: Add precision param to new toBeCloseToArray call
my-tien 8967732
Correct fix for "d3 selection.style called as getter"
my-tien 2e8db5f
Undo some changes done in 684d05c0 (break the CI)
my-tien b546d61
Undo change to left-over failing test since 684d05c0
my-tien 846c0ab
Try fixing failed baseline test container-colorbar-vertical-w-margin
my-tien 65fed4a
baseline image for zz-label-spacing
my-tien a0affdd
Try fixing automargin behavior when setting display: 'none' for hidde…
my-tien 930e057
Merge remote-tracking branch 'origin-plotly/master' into label-spacing
my-tien File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- Fix hidden ticklabels taking up plot space [[#7417](https://github.com/plotly/plotly.js/pull/7417)] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"data": [ | ||
{ | ||
"x": ["A", "B", "C"], | ||
"y": [0, 40, 80], | ||
"type": "scatter" | ||
}, | ||
{ | ||
"x": ["A", "B", "C"], | ||
"y": [0, 40, 80], | ||
"type": "scatter", | ||
"xaxis": "x2", | ||
"yaxis": "y2" | ||
} | ||
], | ||
"layout": { | ||
"title": { | ||
"text": "The vertical grid lines in the subplots should be aligned." | ||
}, | ||
"width": 600, | ||
"xaxis": { | ||
"anchor": "y" | ||
}, | ||
"xaxis2": { | ||
"anchor": "y2" | ||
}, | ||
"yaxis": { | ||
"range": [0, 80], | ||
"dtick": 20, | ||
"side": "right", | ||
"ticklabelposition": "inside", | ||
"anchor": "x", | ||
"domain": [0, 0.45] | ||
}, | ||
"yaxis2": { | ||
"range": [0, 100], | ||
"dtick": 20, | ||
"side": "right", | ||
"ticklabelposition": "inside", | ||
"anchor": "x2", | ||
"domain": [0.55, 1] | ||
} | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.