-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Add polar.hole
#2977
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
Merged
Merged
Add polar.hole
#2977
Changes from 1 commit
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
39b2ee3
place <g.barlayer> below <g.scatterlayer> in polar subplot
etpinard ea7fd2c
add polar.hole
etpinard f547692
add a few TODO comments related to polar.hole
etpinard 35199c6
make mock cartesian scale computation marginally simpler
etpinard 8e5833d
cover a few more cases in polar_hole.json
etpinard ea877ee
add hover tests with polar.hole>0
etpinard a859872
add info about polar.hole in setConvert jsdoc
etpinard 776e292
modif polar_hole mock to "see" axis line/tick ordering
etpinard 9c3dcef
draw polar axis ticks above axis lines
etpinard 1122907
fix and :lock: maindrag when polar.hole>0
etpinard d466146
add 'inner' radial dragbox when polar.hole>0
etpinard 5a998a2
Merge branch 'master' into polar-hole
etpinard 092006a
add 'inner' radial dragbox to all polar subplots
etpinard 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
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
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
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,80 @@ | ||
{ | ||
"data": [ | ||
{ | ||
"type": "barpolar", | ||
"r": [10, 12, 15] | ||
}, | ||
{ | ||
"type": "scatterpolar", | ||
"r": [10, 12, 15], | ||
"theta0": 90 | ||
}, | ||
|
||
{ | ||
"type": "scatterpolar", | ||
"subplot": "polar2", | ||
"r": [100, 50, 200] | ||
}, | ||
{ | ||
"type": "barpolar", | ||
"subplot": "polar2", | ||
"r": [100, 50, 200] | ||
}, | ||
|
||
{ | ||
"type": "barpolar", | ||
"subplot": "polar3", | ||
"theta": ["a", "b", "c", "d", "b", "f", "a", "a"] | ||
}, | ||
{ | ||
"type": "scatterpolar", | ||
"subplot": "polar3", | ||
"theta": ["a", "b", "c", "d", "b", "f", "a", "a"] | ||
}, | ||
|
||
{ | ||
"type": "barpolar", | ||
"subplot": "polar4", | ||
"r": [10, 12, 15] | ||
}, | ||
{ | ||
"type": "scatterpolar", | ||
"subplot": "polar4", | ||
"r": [10, 12, 15], | ||
"theta0": 90 | ||
} | ||
], | ||
"layout": { | ||
"width": 600, | ||
"height": 600, | ||
"margin": {"l": 40, "r": 40, "b": 40, "t": 40, "pad": 0}, | ||
"grid": { | ||
"rows": 2, | ||
"columns": 2, | ||
"ygap": 0.2 | ||
}, | ||
"polar": { | ||
"hole": 0.1, | ||
"domain": {"row": 0, "column": 0} | ||
}, | ||
"polar2": { | ||
"hole": 0.4, | ||
"domain": {"row": 0, "column": 1}, | ||
"radialaxis": {"type": "log"} | ||
}, | ||
"polar3": { | ||
"hole": 0.2, | ||
"gridshape": "linear", | ||
"angularaxis": {"direction": "clockwise"}, | ||
"domain": {"row": 1, "column": 0} | ||
}, | ||
"polar4": { | ||
"hole": 0.4, | ||
"domain": {"row": 1, "column": 1}, | ||
"sector": [0, 180], | ||
"angularaxis": {"direction": "clockwise"}, | ||
"radialaxis": {"angle": 90, "side": "counterclockwise"} | ||
}, | ||
alexcjohnson marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"showlegend": false | ||
} | ||
} |
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.