Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 986a0f9 commit 2c27a02Copy full SHA for 2c27a02
1 file changed
lib/matplotlib/tests/test_dates.py
@@ -453,7 +453,10 @@ def test_concise_formatter_subsecond():
453
locator = mdates.AutoDateLocator(interval_multiples=True)
454
formatter = mdates.ConciseDateFormatter(locator)
455
year_1996 = 9861.0
456
- strings = formatter.format_ticks([year_1996, year_1996 + 500 / mdates.MUSECONDS_PER_DAY, year_1996 + 900 / mdates.MUSECONDS_PER_DAY])
+ strings = formatter.format_ticks([
457
+ year_1996,
458
+ year_1996 + 500 / mdates.MUSECONDS_PER_DAY,
459
+ year_1996 + 900 / mdates.MUSECONDS_PER_DAY])
460
assert strings == ['00:00', '00.0005', '00.0009']
461
462
0 commit comments