-
Notifications
You must be signed in to change notification settings - Fork 35
Add ability to set ticks and tick label format #84
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
Conversation
Codecov Report
@@ Coverage Diff @@
## main #84 +/- ##
==========================================
+ Coverage 90.69% 94.30% +3.60%
==========================================
Files 1 1
Lines 172 193 +21
Branches 42 44 +2
==========================================
+ Hits 156 182 +26
+ Misses 11 6 -5
Partials 5 5
Continue to review full report at Codecov.
|
aulemahal
left a comment
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.
I like this change!
Do I understand that the behaviour is unchanged for almost all cases?
|
That's correct. All the default behavior should be identical to before. The behavior only changes after someone calls |
🚀 Pull Request
This implements the proposal outlined in #41 (comment).
Description
The following example now works. Here I am setting a single tick on the x-axis and labeling it with a date format of
"%Y-%m"using the newly addedCFTimeFormatter:The
NetCDFTimeDateFormatterhas been renamed toAutoCFTimeFormatter. For backwards compatibility, using the nameNetCDFTimeDateFormatterwill still work, but will raise aFutureWarning.