Skip to content

Commit 2ad91b7

Browse 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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines 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)