@@ -4069,7 +4069,7 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
4069
4069
def hexbin (self , x , y , C = None , gridsize = 100 , bins = None ,
4070
4070
xscale = 'linear' , yscale = 'linear' , extent = None ,
4071
4071
cmap = None , norm = None , vmin = None , vmax = None ,
4072
- alpha = None , linewidths = None , edgecolors = 'none ' ,
4072
+ alpha = None , linewidths = None , edgecolors = 'face ' ,
4073
4073
reduce_C_function = np .mean , mincnt = None , marginals = False ,
4074
4074
** kwargs ):
4075
4075
"""
@@ -4163,10 +4163,12 @@ def hexbin(self, x, y, C=None, gridsize=100, bins=None,
4163
4163
linewidths : scalar, optional, default is *None*
4164
4164
If *None*, defaults to 1.0.
4165
4165
4166
- edgecolors : {'none'} or mpl color, optional, default is 'none'
4167
- If 'none', draws the edges in the same color as the fill color.
4168
- This is the default, as it avoids unsightly unpainted pixels
4169
- between the hexagons.
4166
+ edgecolors : {'face', 'none', *None*} or mpl color, optional, default is 'face'
4167
+
4168
+ If 'face', draws the edges in the same color as the fill color.
4169
+
4170
+ If 'none', no edge is drawn; this can sometimes lead to unsightly
4171
+ unpainted pixels between the hexagons.
4170
4172
4171
4173
If *None*, draws outlines in the default color.
4172
4174
@@ -4353,8 +4355,6 @@ def hexbin(self, x, y, C=None, gridsize=100, bins=None,
4353
4355
polygon [:, 0 ] = sx * np .array ([0.5 , 0.5 , 0.0 , - 0.5 , - 0.5 , 0.0 ])
4354
4356
polygon [:, 1 ] = sy * np .array ([- 0.5 , 0.5 , 1.0 , 0.5 , - 0.5 , - 1.0 ]) / 3.0
4355
4357
4356
- if edgecolors == 'none' :
4357
- edgecolors = 'face'
4358
4358
if linewidths is None :
4359
4359
linewidths = [1.0 ]
4360
4360
0 commit comments