@@ -233,21 +233,15 @@ class AxisArtistHelperRectlinear(object):
233233
234234 class Fixed (AxisArtistHelper .Fixed ):
235235
236- def __init__ (self ,
237- axes , loc , nth_coord = None ,
238- ):
236+ def __init__ (self , axes , loc , nth_coord = None ):
239237 """
240238 nth_coord = along which coordinate value varies
241239 in 2d, nth_coord = 0 -> x axis, nth_coord = 1 -> y axis
242240 """
243-
244- super (AxisArtistHelperRectlinear .Fixed , self ).__init__ ( \
245- loc , nth_coord )
246-
241+ super (AxisArtistHelperRectlinear .Fixed , self ).__init__ (
242+ loc , nth_coord )
247243 self .axis = [axes .xaxis , axes .yaxis ][self .nth_coord ]
248244
249-
250-
251245 # TICK
252246
253247 def get_tick_iterators (self , axes ):
@@ -293,14 +287,11 @@ def _f(locs, labels):
293287 class Floating (AxisArtistHelper .Floating ):
294288 def __init__ (self , axes , nth_coord ,
295289 passingthrough_point , axis_direction = "bottom" ):
296-
297- super (AxisArtistHelperRectlinear .Floating , self ).__init__ ( \
290+ super (AxisArtistHelperRectlinear .Floating , self ).__init__ (
298291 nth_coord , passingthrough_point )
299292 self ._axis_direction = axis_direction
300-
301293 self .axis = [axes .xaxis , axes .yaxis ][self .nth_coord ]
302294
303-
304295 def get_line (self , axes ):
305296 _verts = np .array ([[0. , 0. ],
306297 [1. , 1. ]])
@@ -498,13 +489,14 @@ def new_floating_axis(self, nth_coord, value,
498489 ):
499490
500491 if axes is None :
501- warnings .warn ("'new_floating_axis' explicitly requires the axes keyword." )
492+ warnings .warn (
493+ "'new_floating_axis' explicitly requires the axes keyword." )
502494 axes = self .axes
503495
504496 passthrough_point = (value , value )
505497 transform = axes .transData
506498
507- _helper = AxisArtistHelperRectlinear .Floating ( \
499+ _helper = AxisArtistHelperRectlinear .Floating (
508500 axes , nth_coord , value , axis_direction )
509501
510502 axisline = AxisArtist (axes , _helper )
0 commit comments