@@ -258,7 +258,7 @@ def _get_text2(self, loc):
258258 def _get_tick1line (self , loc ):
259259 'Get the default line2D instance'
260260 # x in data coords, y in axes coords
261- l = Line2D ( xdata = (loc , loc ), ydata = (0 , 0 ),
261+ l = Line2D ( xdata = (loc ,), ydata = (0 ,),
262262 color = 'k' ,
263263 linestyle = 'None' ,
264264 antialiased = False ,
@@ -274,7 +274,7 @@ def _get_tick1line(self, loc):
274274 def _get_tick2line (self , loc ):
275275 'Get the default line2D instance'
276276 # x in data coords, y in axes coords
277- l = Line2D ( xdata = (loc , loc ), ydata = (1 ,1 ),
277+ l = Line2D ( xdata = (loc ,), ydata = (1 ,),
278278 color = 'k' ,
279279 linestyle = 'None' ,
280280 antialiased = False ,
@@ -385,7 +385,7 @@ def _get_tick1line(self, loc):
385385 'Get the default line2D instance'
386386 # x in axes coords, y in data coords
387387
388- l = Line2D ( (0 , 0 ), (loc , loc ), color = 'k' ,
388+ l = Line2D ( (0 ,), (loc ,), color = 'k' ,
389389 antialiased = False ,
390390 marker = TICKRIGHT ,
391391 linestyle = 'None' ,
@@ -399,7 +399,7 @@ def _get_tick1line(self, loc):
399399 def _get_tick2line (self , loc ):
400400 'Get the default line2D instance'
401401 # x in axes coords, y in data coords
402- l = Line2D ( (1 , 1 ), (0 , 0 ), color = 'k' ,
402+ l = Line2D ( (1 ,), (0 ,), color = 'k' ,
403403 antialiased = False ,
404404 marker = TICKLEFT ,
405405 linestyle = 'None' ,
0 commit comments