Skip to content

Commit b6e6a81

Browse files
committed
Disables autofmt_xdate testing.
1 parent c7851e3 commit b6e6a81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/plotting/test_datetimelike.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1282,7 +1282,7 @@ def test_format_timedelta_ticks_narrow(self):
12821282
df = DataFrame(np.random.randn(len(rng), 3), rng)
12831283
ax = df.plot(fontsize=2)
12841284
fig = ax.get_figure()
1285-
fig.autofmt_xdate()
1285+
#fig.autofmt_xdate()
12861286
fig.canvas.draw()
12871287
labels = ax.get_xticklabels()
12881288
self.assertEqual(len(labels), len(expected_labels))
@@ -1308,7 +1308,7 @@ def test_format_timedelta_ticks_wide(self):
13081308
df = DataFrame(np.random.randn(len(rng), 3), rng)
13091309
ax = df.plot(fontsize=2)
13101310
fig = ax.get_figure()
1311-
fig.autofmt_xdate()
1311+
#fig.autofmt_xdate()
13121312
fig.canvas.draw()
13131313
labels = ax.get_xticklabels()
13141314
self.assertEqual(len(labels), len(expected_labels))

0 commit comments

Comments
 (0)