def test_reset_orig(self):
"""
Test the ability to reset to the original (respecting custom styles)
"""
# Changes to the rc parameters make this test hard to manage
# on older versions of matplotlib, so we'll skip it
if LooseVersion(mpl.__version__) < LooseVersion("1.3"):
raise self.SkipTest
yb_rcmod.reset_orig()
self.assert_rc_params(mpl.rcParamsOrig)
yb_rcmod.set_aesthetic()
评论列表
文章目录