Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d266fc commit 6421160Copy full SHA for 6421160
1 file changed
lib/matplotlib/testing/decorators.py
@@ -101,10 +101,12 @@ class CleanupTestCase(unittest.TestCase):
101
def setUpClass(cls):
102
import matplotlib.units
103
cls.original_units_registry = matplotlib.units.registry.copy()
104
+ cls.original_settings = mpl.rcParams.copy()
105
106
@classmethod
107
def tearDownClass(cls):
- _do_cleanup(cls.original_units_registry)
108
+ _do_cleanup(cls.original_units_registry,
109
+ cls.original_settings)
110
111
112
def cleanup(func):
0 commit comments