Skip to content

Commit 742527e

Browse files
committed
BUG: don't duplicate norm parameter for scatter plots (pandas-dev#45809)
1 parent 5ee4bdd commit 742527e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/plotting/_matplotlib/core.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1105,7 +1105,7 @@ def _make_plot(self):
11051105
bounds = np.linspace(0, n_cats, n_cats + 1)
11061106
norm = colors.BoundaryNorm(bounds, cmap.N)
11071107
else:
1108-
norm = None
1108+
norm = self.kwds.pop("norm", None)
11091109
# plot colorbar if
11101110
# 1. colormap is assigned, and
11111111
# 2.`c` is a column containing only numeric values

0 commit comments

Comments
 (0)