@@ -5443,7 +5443,7 @@ def errorbar(self, x, y, yerr=None, xerr=None,
54435443 lines_kw ['transform' ] = kwargs ['transform' ]
54445444 if 'zorder' in kwargs :
54455445 lines_kw ['zorder' ] = kwargs ['zorder' ]
5446-
5446+
54475447 # arrays fine here, they are booleans and hence not units
54485448 if not iterable (lolims ):
54495449 lolims = np .asarray ([lolims ]* len (x ), bool )
@@ -6442,28 +6442,28 @@ def hexbin(self, x, y, C = None, gridsize = 100, bins = None,
64426442 if xscale == 'log' or yscale == 'log' :
64436443 polygons = np .expand_dims (polygon , 0 ) + np .expand_dims (offsets , 1 )
64446444 if xscale == 'log' :
6445- polygons [:,:, 0 ] = 10.0 ** polygons [:,:, 0 ]
6445+ polygons [:, :, 0 ] = 10.0 ** polygons [:, :, 0 ]
64466446 xmin = 10.0 ** xmin
64476447 xmax = 10.0 ** xmax
64486448 self .set_xscale (xscale )
64496449 if yscale == 'log' :
6450- polygons [:,:, 1 ] = 10.0 ** polygons [:,:, 1 ]
6450+ polygons [:, :, 1 ] = 10.0 ** polygons [:, :, 1 ]
64516451 ymin = 10.0 ** ymin
64526452 ymax = 10.0 ** ymax
64536453 self .set_yscale (yscale )
64546454 collection = mcoll .PolyCollection (
64556455 polygons ,
6456- edgecolors = edgecolors ,
6457- linewidths = linewidths ,
6456+ edgecolors = edgecolors ,
6457+ linewidths = linewidths ,
64586458 )
64596459 else :
64606460 collection = mcoll .PolyCollection (
64616461 [polygon ],
6462- edgecolors = edgecolors ,
6463- linewidths = linewidths ,
6464- offsets = offsets ,
6465- transOffset = mtransforms .IdentityTransform (),
6466- offset_position = "data"
6462+ edgecolors = edgecolors ,
6463+ linewidths = linewidths ,
6464+ offsets = offsets ,
6465+ transOffset = mtransforms .IdentityTransform (),
6466+ offset_position = "data"
64676467 )
64686468
64696469 if isinstance (norm , mcolors .LogNorm ):
0 commit comments