-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Implement options to draw minor
ticks and grid lines in Cartesian subplots
#6166
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
Changes from 1 commit
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
6bc7e13
add minor tick and grid options to cartesian subplot
archmoj 08c61f7
supply deafults for minor ticks and grids
archmoj eaa8e71
draw minor ticks and grid lines
archmoj 64576fc
minor image test 11
archmoj 58958ff
minor image test 14
archmoj 9843e07
minor image test 15
archmoj 28f8eb0
minor image test 17
archmoj 02eb3df
minor image test 19
archmoj f784fe6
minor image test 24
archmoj 1dfe510
minor image test 28
archmoj 716aa38
minor image test 32
archmoj 18cd4e5
minor image test date_axes_period2
archmoj ca57f7e
minor image test h-colorbar01
archmoj 0fdee8c
minor image test h-colorbar02
archmoj 08a0f4a
minor image h-colorbar_airfoil
archmoj 6c312f4
minor image heatmap_xyz-dates-and-categories
archmoj 141fada
minor image legend_horizontal_autowrap
archmoj 0165875
minor image ticklabelposition-0
archmoj 58fa977
minor image ticklabelposition-1
archmoj 8763300
minor image ticklabelposition-2
archmoj b3528e6
minor image ticklabelposition-5
archmoj dbed549
minor image mirror-all-vs-allticks
archmoj 3377704
use identical roundingSet for minor ticks
archmoj
8000
Apr 14, 2022
f82733c
use auto minor.dtick in date_axes_period2
archmoj 7b3e7be
revisit the process of generating minor values
archmoj 2ca3881
base minor default styles in respect to styles set for major ticks an…
archmoj c6b7231
refactor and add comment about mock 32 not dropping minor ticks and m…
archmoj 7598ddd
attempt fixing minor and major overlaps
archmoj fd312fd
do not use almost equal instead eliminate problematic digits
archmoj 4a535fc
fixup auto minor when having major tickvals
archmoj 31f86eb
improve tests
archmoj 0d070b7
inherit minor tickwidth and gridwidth from major styles
archmoj d8e7d05
revise mixing ratio between bgcolor and minor.gridcolor
archmoj 04c2364
clear redundant ifs
archmoj 0affe38
improve handling of minor case
archmoj 8a1472f
no need to call autoTickRound for minor ticks
archmoj db7534b
use prepMinorTicks method
archmoj 03254ab
revise minor auto ticks
archmoj c4c4c5c
handle log
archmoj 51813f9
match minor.tick0 with main tick0
archmoj 7afdb78
reduce crispRound calls for minor
archmoj cd96c12
draw minor grid lines behide major grid lines
archmoj 3cb2910
align minor ticks
archmoj 4d72fa5
apply minor.nticks
archmoj bae4f11
use defined minor.ntick to divide delta without rounding
archmoj 1cec0bc
do not try to round dtick when having minor.nticks
archmoj 524a330
rename id > majorId
archmoj 126ce26
ensure minor dtick get round months
archmoj 1db3524
add various jasmine tests
archmoj 66c9d87
delete minor when no minor ticks or gridlines
archmoj 27e1320
clear minor hack
archmoj b81617d
minor autotick algo mirrors major based on nticks
alexcjohnson 9c1514a
tweaks to minor nticks algorithm after feedback from @archmoj
alexcjohnson 25d2fe8
update minor baselines
archmoj 26d4998
update schema
archmoj 80933c4
adjust jasmine tests
archmoj c57f2c8
revert changes in axes.autoTicks
archmoj 64a211b
clear unused keys on axes
archmoj 94ff74d
disallow automatic D2 minor when major is > 1 order of mag
alexcjohnson 69c09c1
update ticklabelposition-2 baseline
archmoj 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
apply minor.nticks
- Loading branch information
commit 4d72fa57393ebe25d20aef7e0dcd34b1d427f82e
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small (minor? 😏 ) point: on linear axes, if I want
minor.dtick===dtick/10
I don't get this withminor.nticks: 10
, I have to go to11
Also, I was expecting if I provided major
dtick
andtick0
plusminor.dtick
, thatminor.tick0
would be inherited fromtick0
- but it seems unless I explicitly provide it to match,minor.tick0
reverts to the default.