@@ -372,7 +372,7 @@ def __init__(self, fig, rect,
372372 Keyword Description
373373 ================ =========================================
374374 *adjustable* [ 'box' | 'datalim' | 'box-forced']
375- *alpha* float: the alpha transparency
375+ *alpha* float: the alpha transparency (can be None)
376376 *anchor* [ 'C', 'SW', 'S', 'SE', 'E', 'NE', 'N',
377377 'NW', 'W' ]
378378 *aspect* [ 'auto' | 'equal' | aspect_ratio ]
@@ -5338,14 +5338,14 @@ def dopatch(xs,ys):
53385338
53395339 @docstring .dedent_interpd
53405340 def scatter (self , x , y , s = 20 , c = 'b' , marker = 'o' , cmap = None , norm = None ,
5341- vmin = None , vmax = None , alpha = 1.0 , linewidths = None ,
5341+ vmin = None , vmax = None , alpha = None , linewidths = None ,
53425342 faceted = True , verts = None ,
53435343 ** kwargs ):
53445344 """
53455345 call signatures::
53465346
53475347 scatter(x, y, s=20, c='b', marker='o', cmap=None, norm=None,
5348- vmin=None, vmax=None, alpha=1.0 , linewidths=None,
5348+ vmin=None, vmax=None, alpha=None , linewidths=None,
53495349 verts=None, **kwargs)
53505350
53515351 Make a scatter plot of *x* versus *y*, where *x*, *y* are
@@ -5438,7 +5438,7 @@ def scatter(self, x, y, s=20, c='b', marker='o', cmap=None, norm=None,
54385438 *norm* instance, your settings for *vmin* and *vmax* will
54395439 be ignored.
54405440
5441- *alpha*: 0 <= scalar <= 1
5441+ *alpha*: 0 <= scalar <= 1 or None
54425442 The alpha value for the patches
54435443
54445444 *linewidths*: [ None | scalar | sequence ]
@@ -5656,7 +5656,7 @@ def scatter(self, x, y, s=20, c='b', marker='o', cmap=None, norm=None,
56565656 def hexbin (self , x , y , C = None , gridsize = 100 , bins = None ,
56575657 xscale = 'linear' , yscale = 'linear' , extent = None ,
56585658 cmap = None , norm = None , vmin = None , vmax = None ,
5659- alpha = 1.0 , linewidths = None , edgecolors = 'none' ,
5659+ alpha = None , linewidths = None , edgecolors = 'none' ,
56605660 reduce_C_function = np .mean , mincnt = None , marginals = False ,
56615661 ** kwargs ):
56625662 """
@@ -5665,7 +5665,7 @@ def hexbin(self, x, y, C = None, gridsize = 100, bins = None,
56655665 hexbin(x, y, C = None, gridsize = 100, bins = None,
56665666 xscale = 'linear', yscale = 'linear',
56675667 cmap=None, norm=None, vmin=None, vmax=None,
5668- alpha=1.0 , linewidths=None, edgecolors='none'
5668+ alpha=None , linewidths=None, edgecolors='none'
56695669 reduce_C_function = np.mean, mincnt=None, marginals=True
56705670 **kwargs)
56715671
@@ -5744,7 +5744,7 @@ def hexbin(self, x, y, C = None, gridsize = 100, bins = None,
57445744 array *C* is used. Note if you pass a norm instance, your settings
57455745 for *vmin* and *vmax* will be ignored.
57465746
5747- *alpha*: scalar
5747+ *alpha*: scalar between 0 and 1, or None
57485748 the alpha value for the patches
57495749
57505750 *linewidths*: [ None | scalar ]
@@ -6438,14 +6438,14 @@ def fill_betweenx(self, y, x1, x2=0, where=None, **kwargs):
64386438
64396439 @docstring .dedent_interpd
64406440 def imshow (self , X , cmap = None , norm = None , aspect = None ,
6441- interpolation = None , alpha = 1.0 , vmin = None , vmax = None ,
6441+ interpolation = None , alpha = None , vmin = None , vmax = None ,
64426442 origin = None , extent = None , shape = None , filternorm = 1 ,
64436443 filterrad = 4.0 , imlim = None , resample = None , url = None , ** kwargs ):
64446444 """
64456445 call signature::
64466446
64476447 imshow(X, cmap=None, norm=None, aspect=None, interpolation=None,
6448- alpha=1.0 , vmin=None, vmax=None, origin=None, extent=None,
6448+ alpha=None , vmin=None, vmax=None, origin=None, extent=None,
64496449 **kwargs)
64506450
64516451 Display the image in *X* to current axes. *X* may be a float
@@ -6505,6 +6505,7 @@ def imshow(self, X, cmap=None, norm=None, aspect=None,
65056505
65066506 *alpha*: scalar
65076507 The alpha blending value, between 0 (transparent) and 1 (opaque)
6508+ or *None*
65086509
65096510 *origin*: [ None | 'upper' | 'lower' ]
65106511 Place the [0,0] index of the array in the upper left or lower left
@@ -6673,7 +6674,7 @@ def pcolor(self, *args, **kwargs):
66736674
66746675 An mpl color or sequence of colors will set the edge color
66756676
6676- *alpha*: 0 <= scalar <= 1
6677+ *alpha*: 0 <= scalar <= 1 or *None*
66776678 the alpha blending value
66786679
66796680 Return value is a :class:`matplotlib.collection.Collection`
@@ -6729,7 +6730,7 @@ def pcolor(self, *args, **kwargs):
67296730
67306731 if not self ._hold : self .cla ()
67316732
6732- alpha = kwargs .pop ('alpha' , 1.0 )
6733+ alpha = kwargs .pop ('alpha' , None )
67336734 norm = kwargs .pop ('norm' , None )
67346735 cmap = kwargs .pop ('cmap' , None )
67356736 vmin = kwargs .pop ('vmin' , None )
@@ -6858,7 +6859,7 @@ def pcolormesh(self, *args, **kwargs):
68586859
68596860 An mpl color or sequence of colors will set the edge color
68606861
6861- *alpha*: 0 <= scalar <= 1
6862+ *alpha*: 0 <= scalar <= 1 or *None*
68626863 the alpha blending value
68636864
68646865 Return value is a :class:`matplotlib.collection.QuadMesh`
@@ -6878,7 +6879,7 @@ def pcolormesh(self, *args, **kwargs):
68786879 """
68796880 if not self ._hold : self .cla ()
68806881
6881- alpha = kwargs .pop ('alpha' , 1.0 )
6882+ alpha = kwargs .pop ('alpha' , None )
68826883 norm = kwargs .pop ('norm' , None )
68836884 cmap = kwargs .pop ('cmap' , None )
68846885 vmin = kwargs .pop ('vmin' , None )
@@ -7003,7 +7004,7 @@ def pcolorfast(self, *args, **kwargs):
70037004 luminance data. If either are *None*, the min and max of the color
70047005 array *C* is used. If you pass a norm instance, *vmin* and *vmax*
70057006 will be *None*.
7006- *alpha*: 0 <= scalar <= 1
7007+ *alpha*: 0 <= scalar <= 1 or *None*
70077008 the alpha blending value
70087009
70097010 Return value is an image if a regular or rectangular grid
@@ -7014,7 +7015,7 @@ def pcolorfast(self, *args, **kwargs):
70147015
70157016 if not self ._hold : self .cla ()
70167017
7017- alpha = kwargs .pop ('alpha' , 1.0 )
7018+ alpha = kwargs .pop ('alpha' , None )
70187019 norm = kwargs .pop ('norm' , None )
70197020 cmap = kwargs .pop ('cmap' , None )
70207021 vmin = kwargs .pop ('vmin' , None )
0 commit comments