From ec87748f528c2711b935852ce2b997050b1774b3 Mon Sep 17 00:00:00 2001 From: Debian Science Team Date: Tue, 11 Jan 2022 21:25:17 +0000 Subject: [PATCH] Clean up so test_ts_plot_with_tz doesn't fail Author: Steffen Rehberg, Rebecca N. Palmer Bug: https://github.com/pandas-dev/pandas/issues/35080 Forwarded: no Gbp-Pq: Name 35080_plot_tests.patch --- pandas/tests/plotting/test_converter.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pandas/tests/plotting/test_converter.py b/pandas/tests/plotting/test_converter.py index 75f2dcac..7ea1a847 100644 --- a/pandas/tests/plotting/test_converter.py +++ b/pandas/tests/plotting/test_converter.py @@ -132,6 +132,7 @@ class TestRegistration: # Test without registering first, no warning with ctx: ax.plot(s.index, s.values) + plt.clf() # Now test with registering register_matplotlib_converters() -- 2.30.2