From: Debian Science Team Date: Tue, 11 Jan 2022 21:25:17 +0000 (+0000) Subject: Clean up so test_ts_plot_with_tz doesn't fail X-Git-Tag: archive/raspbian/1.5.3+dfsg-2+rpi1~1^2^2^2^2^2^2^2^2~7 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ec87748f528c2711b935852ce2b997050b1774b3;p=pandas.git 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 --- 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()