From: Debian Science Team Date: Thu, 2 Dec 2021 16:32:54 +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^2~9 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1b7d2d5cacc64305f83962f2a80c14184051ba59;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()