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

Skip to content

Commit 97e525c

Browse files
authored
Merge pull request #18103 from timhoffm/hexbin-data
Support data reference for hexbin() parameter C
2 parents 8a3ec2f + c671322 commit 97e525c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/axes/_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4535,7 +4535,7 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
45354535

45364536
return collection
45374537

4538-
@_preprocess_data(replace_names=["x", "y"], label_namer="y")
4538+
@_preprocess_data(replace_names=["x", "y", "C"], label_namer="y")
45394539
@docstring.dedent_interpd
45404540
def hexbin(self, x, y, C=None, gridsize=100, bins=None,
45414541
xscale='linear', yscale='linear', extent=None,

0 commit comments

Comments
 (0)