@@ -303,16 +303,19 @@ def _apply_params(self, **kw):
303303 newmarker = [k for k in kw if k in ['size' , 'width' , 'pad' , 'tickdir' ]]
304304 if newmarker :
305305 self ._size = kw .pop ('size' , self ._size )
306+ # Width could be handled outside this block, but it is
307+ # convenient to leave it here.
306308 self ._width = kw .pop ('width' , self ._width )
307309 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.
309312 self .apply_tickdir (kw .pop ('tickdir' , self ._tickdir ))
310313 self .tick1line .set_marker (self ._tickmarkers [0 ])
311314 self .tick2line .set_marker (self ._tickmarkers [1 ])
312315 for line in (self .tick1line , self .tick2line ):
313316 line .set_markersize (self ._size )
314317 line .set_markeredgewidth (self ._width )
315- # _get_text1_transform uses _pad from apply_tickdir
318+ # _get_text1_transform uses _pad from apply_tickdir.
316319 trans = self ._get_text1_transform ()[0 ]
317320 self .label1 .set_transform (trans )
318321 trans = self ._get_text2_transform ()[0 ]
0 commit comments