Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 465f7b2

Browse files
committed
DOC Updated gridsize description, language consistency where multiple inputs possible
1 parent d43caec commit 465f7b2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lib/matplotlib/axes/_axes.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4097,11 +4097,11 @@ def hexbin(self, x, y, C=None, gridsize=100, bins=None,
40974097
40984098
Parameters
40994099
----------
4100-
x, y : array, masked array
4100+
x, y : array or masked array
41014101
4102-
C : array, masked array, optional, default is *None*
4102+
C : array or masked array, optional, default is *None*
41034103
4104-
gridsize : int, optional, default is 100
4104+
gridsize : int or (int, int), optional, default is 100
41054105
The number of hexagons in the *x*-direction, default is
41064106
100. The corresponding number of hexagons in the
41074107
*y*-direction is chosen such that the hexagons are
@@ -4171,7 +4171,7 @@ def hexbin(self, x, y, C=None, gridsize=100, bins=None,
41714171
linewidths : scalar, optional, default is *None*
41724172
If *None*, defaults to 1.0.
41734173
4174-
edgecolors : {'none'}, mpl color, optional, default is 'none'
4174+
edgecolors : {'none'} or mpl color, optional, default is 'none'
41754175
If 'none', draws the edges in the same color as the fill color.
41764176
This is the default, as it avoids unsightly unpainted pixels
41774177
between the hexagons.

0 commit comments

Comments
 (0)