File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -382,6 +382,8 @@ def test_polar_annotations():
382
382
verticalalignment = 'baseline' ,
383
383
)
384
384
385
+ ax .tick_params (axis = 'x' , tick1On = True , tick2On = True , direction = 'out' )
386
+
385
387
386
388
@image_comparison (baseline_images = ['polar_coords' ], style = 'default' ,
387
389
remove_text = True )
@@ -676,6 +678,7 @@ def test_polar_theta_limits():
676
678
677
679
theta_mins = np .arange (15.0 , 361.0 , 90.0 )
678
680
theta_maxs = np .arange (50.0 , 361.0 , 90.0 )
681
+ DIRECTIONS = ('out' , 'in' , 'inout' )
679
682
680
683
fig , axes = plt .subplots (len (theta_mins ), len (theta_maxs ),
681
684
subplot_kw = {'polar' : True },
@@ -686,9 +689,11 @@ def test_polar_theta_limits():
686
689
ax = axes [i , j ]
687
690
if start < end :
688
691
ax .plot (theta , r )
689
- ax .yaxis .set_tick_params (label2On = True )
690
692
ax .set_thetamin (start )
691
693
ax .set_thetamax (end )
694
+ ax .tick_params (tick1On = True , tick2On = True ,
695
+ direction = DIRECTIONS [i % len (DIRECTIONS )])
696
+ ax .yaxis .set_tick_params (label2On = True )
692
697
else :
693
698
ax .set_visible (False )
694
699
You can’t perform that action at this time.
0 commit comments