8000 Support data reference for hexbin() parameter C · matplotlib/matplotlib@c671322 · GitHub
[go: up one dir, main page]

Skip to content

Commit c671322

Browse files
committed
Support data reference for hexbin() parameter C
1 parent 560ccff commit c671322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)
0