File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -794,6 +794,27 @@ def test_polar_theta_limits():
794
794
ax .yaxis .set_tick_params (label2On = True , rotation = 'auto' )
795
795
796
796
797
+ @check_figures_equal (extensions = ["png" ])
798
+ def test_polar_rlim (fig_test , fig_ref ):
799
+ ax = fig_test .subplots (subplot_kw = {'polar' : True })
800
+ ax .set_rlim (top = 10 )
801
+ ax .set_rlim (bottom = .5 )
802
+
803
+ ax = fig_ref .subplots (subplot_kw = {'polar' : True })
804
+ ax .set_rmax (10. )
805
+ ax .set_rmin (.5 )
806
+
807
+
808
+ @check_figures_equal (extensions = ["png" ])
809
+ def test_polar_rlim_bottom (fig_test , fig_ref ):
810
+ ax = fig_test .subplots (subplot_kw = {'polar' : True })
811
+ ax .set_rlim (bottom = [.5 , 10 ])
812
+
813
+ ax = fig_ref .subplots (subplot_kw = {'polar' : True })
814
+ ax .set_rmax (10. )
815
+ ax .set_rmin (.5 )
816
+
817
+
797
818
@image_comparison (baseline_images = ['axvspan_epoch' ])
798
819
def test_axvspan_epoch ():
799
820
from datetime import datetime
You can’t perform that action at this time.
0 commit comments