Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2ad91b7

Browse filesBrowse files
committed
Force classic ("auto") date converter in classic style.
... instead of the newfangled ConciseDateConverter. This is specifically useful for running tests when one also has `date.converter: concise` in their user-level matplotlibrc, as that setting otherwise never gets overwritten by the test machinery, and `test_figure.py::test_axes_removal` then fails (as it depends on having `date.converter: auto`).
1 parent b6294ff commit 2ad91b7
Copy full SHA for 2ad91b7

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed

‎lib/matplotlib/mpl-data/stylelib/classic.mplstyle

Copy file name to clipboardExpand all lines: lib/matplotlib/mpl-data/stylelib/classic.mplstyle
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ date.autoformatter.hour : %H:%M:%S
232232
date.autoformatter.minute : %H:%M:%S.%f
233233
date.autoformatter.second : %H:%M:%S.%f
234234
date.autoformatter.microsecond : %H:%M:%S.%f
235+
date.converter: auto # 'auto', 'concise'
235236

236237
### TICKS
237238
# see http://matplotlib.org/api/axis_api.html#matplotlib.axis.Tick

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.