@@ -303,16 +303,19 @@ def _apply_params(self, **kw):
303
303
newmarker = [k for k in kw if k in ['size' , 'width' , 'pad' , 'tickdir' ]]
304
304
if newmarker :
305
305
self ._size = kw .pop ('size' , self ._size )
306
+ # Width could be handled outside this block, but it is
307
+ # convenient to leave it here.
306
308
self ._width = kw .pop ('width' , self ._width )
307
309
self ._base_pad = kw .pop ('pad' , self ._base_pad )
308
- # apply_tickdir makes _pad and _tickmarkers
310
+ # apply_tickdir uses _size and _base_pad to make _pad,
311
+ # and also makes _tickmarkers.
309
312
self .apply_tickdir (kw .pop ('tickdir' , self ._tickdir ))
310
313
self .tick1line .set_marker (self ._tickmarkers [0 ])
311
314
self .tick2line .set_marker (self ._tickmarkers [1 ])
312
315
for line in (self .tick1line , self .tick2line ):
313
316
line .set_markersize (self ._size )
314
317
line .set_markeredgewidth (self ._width )
315
- # _get_text1_transform uses _pad from apply_tickdir
318
+ # _get_text1_transform uses _pad from apply_tickdir.
316
319
trans = self ._get_text1_transform ()[0 ]
317
320
self .label1 .set_transform (trans )
318
321
trans = self ._get_text2_transform ()[0 ]
0 commit comments