@@ -70,6 +70,12 @@ def __init__(self, data, obj):
70
70
"log basis y={{{}}}" .format (_try_f2i (obj .yaxis ._scale .base ))
71
71
)
72
72
73
+ # Possible values for get_axisbelow():
74
+ # True (zorder = 0.5): Ticks and gridlines are below all Artists.
75
+ # 'line' (zorder = 1.5): Ticks and gridlines are above patches (e.g.
76
+ # rectangles) but still below lines / markers.
77
+ # False (zorder = 2.5): Ticks and gridlines are above patches and lines /
78
+ # markers.
73
79
if not obj .get_axisbelow ():
74
80
self .axis_options .append ("axis on top" )
75
81
@@ -195,9 +201,13 @@ def _ticks(self, data, obj):
195
201
)
196
202
)
197
203
198
- data , xtickcolor , _ = color .mpl_color2xcolor (data , obj .get_xticklines ()[0 ].get_color ())
204
+ data , xtickcolor , _ = color .mpl_color2xcolor (
205
+ data , obj .get_xticklines ()[0 ].get_color ()
206
+ )
199
207
self .axis_options .append ("xtick style={{color={}}}" .format (xtickcolor ))
200
- data , ytickcolor , _ = color .mpl_color2xcolor (data , obj .get_xticklines ()[0 ].get_color ())
208
+ data , ytickcolor , _ = color .mpl_color2xcolor (
209
+ data , obj .get_xticklines ()[0 ].get_color ()
210
+ )
201
211
self .axis_options .append ("ytick style={{color={}}}" .format (ytickcolor ))
202
212
203
213
# Find tick direction
0 commit comments