Skip to content

Commit e3073e7

Browse files
committed
Pass norm kwarg to PolyCollection
Ensure the vmin/vmax of the norm is applied to polycollection.
1 parent 5d1a52e commit e3073e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mosaic/polypcolor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def polypcolor(
120120
vmax = kwargs.pop("vmax", None)
121121
norm = kwargs.pop("norm", None)
122122

123-
collection = PolyCollection(verts, array=array, **kwargs)
123+
collection = PolyCollection(verts, array=array, norm=norm, **kwargs)
124124

125125
# only set the transform if GeoAxes
126126
if isinstance(ax, GeoAxes):

0 commit comments

Comments
 (0)