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 47fbf7f commit cbe9ecdCopy full SHA for cbe9ecd
lib/matplotlib/tests/baseline_images/test_axes/rc_spines.png
2.68 KB
lib/matplotlib/tests/test_axes.py
@@ -3625,6 +3625,17 @@ def test_move_offsetlabel():
3625
ax.yaxis.tick_right()
3626
assert_equal((1, 0.5), ax.yaxis.offsetText.get_position())
3627
3628
+@image_comparison(baseline_images=['rc_spines'], extensions=['png'],
3629
+ savefig_kwarg={'dpi':40})
3630
+def test_rc_spines():
3631
+ rc_dict = {
3632
+ 'axes.spine.left':False,
3633
+ 'axes.spine.right':False,
3634
+ 'axes.spine.top':False,
3635
+ 'axes.spine.bottom':False}
3636
+ with matplotlib.rc_context(rc_dict):
3637
+ fig, ax = plt.subplots()
3638
+
3639
if __name__ == '__main__':
3640
import nose
3641
import sys
0 commit comments