Skip to content

Dflt autodateformat #5698

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 4 commits into from
Jan 4, 2016
Merged

Dflt autodateformat #5698

merged 4 commits into from
Jan 4, 2016

Conversation

tacaswell
Copy link
Member

No description provided.

 - Use ISO complient formats by default
 - aded extra level of scale (seconds)
 - add rcparams for all of these strings

closes matplotlib#4808 closes matplotlib#4809 closes matplotlib#5086
@tacaswell
Copy link
Member Author

don't merge, this still needs to have comments from #5445 addressed.

@tacaswell tacaswell force-pushed the dflt_autodateformat branch from aede86f to 3a5b577 Compare January 3, 2016 17:29
Switch to using `string.Template` instead of `%` formatting to
generate default matplotlibrc file.  This is to avoid having to escape
any old or new style format strings that we want to put into the default
matplotlibrc file.
@tacaswell
Copy link
Member Author

I think I have addressed all of @mdboom and @WeatherGod 's comments in #5445.

This can either be merged as-is or folding into #5774

@tacaswell tacaswell added this to the next major release (2.0) milestone Jan 3, 2016
@@ -4,7 +4,7 @@
"""

from __future__ import print_function, absolute_import

from string import Template
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird that I've never used this, but it seems like the right tool for the job...

mdboom added a commit that referenced this pull request Jan 4, 2016
@mdboom mdboom merged commit 4c83537 into matplotlib:v2.x Jan 4, 2016
@mdboom
Copy link
Member

mdboom commented Jan 4, 2016

Merged this. I'll git rebase -i it out of #5774

@tacaswell tacaswell deleted the dflt_autodateformat branch May 12, 2016 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants