@@ -5443,7 +5443,7 @@ def errorbar(self, x, y, yerr=None, xerr=None,
5443
5443
lines_kw ['transform' ] = kwargs ['transform' ]
5444
5444
if 'zorder' in kwargs :
5445
5445
lines_kw ['zorder' ] = kwargs ['zorder' ]
5446
-
5446
+
5447
5447
# arrays fine here, they are booleans and hence not units
5448
5448
if not iterable (lolims ):
5449
5449
lolims = np .asarray ([lolims ]* len (x ), bool )
@@ -6442,28 +6442,28 @@ def hexbin(self, x, y, C = None, gridsize = 100, bins = None,
6442
6442
if xscale == 'log' or yscale == 'log' :
6443
6443
polygons = np .expand_dims (polygon , 0 ) + np .expand_dims (offsets , 1 )
6444
6444
if xscale == 'log' :
6445
- polygons [:,:, 0 ] = 10.0 ** polygons [:,:, 0 ]
6445
+ polygons [:, :, 0 ] = 10.0 ** polygons [:, :, 0 ]
6446
6446
xmin = 10.0 ** xmin
6447
6447
xmax = 10.0 ** xmax
6448
6448
self .set_xscale (xscale )
6449
6449
if yscale == 'log' :
6450
- polygons [:,:, 1 ] = 10.0 ** polygons [:,:, 1 ]
6450
+ polygons [:, :, 1 ] = 10.0 ** polygons [:, :, 1 ]
6451
6451
ymin = 10.0 ** ymin
6452
6452
ymax = 10.0 ** ymax
6453
6453
self .set_yscale (yscale )
6454
6454
collection = mcoll .PolyCollection (
6455
6455
polygons ,
6456
- edgecolors = edgecolors ,
6457
- linewidths = linewidths ,
6456
+ edgecolors = edgecolors ,
6457
+ linewidths = linewidths ,
6458
6458
)
6459
6459
else :
6460
6460
collection = mcoll .PolyCollection (
6461
6461
[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"
6467
6467
)
6468
6468
6469
6469
if isinstance (norm , mcolors .LogNorm ):
0 commit comments