From: Debian Science Team Date: Fri, 28 Jan 2022 19:22:53 +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~7 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=78d122353a8933af656b4643aa662d391b3d11b8;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()