Skip to content

Commit 813d2eb

Browse files
committed
All geoms added dictionary
1 parent cfa3f1d commit 813d2eb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/cartopy/mpl/feature_artist.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,10 @@ def draw(self, renderer, *args, **kwargs):
348348
)
349349
geom_paths.extend(
350350
cpatch.geos_to_path(projected_geom))
351-
mapping[key] = geom_paths
351+
if not key in mapping.keys():
352+
mapping[key] = geom_paths
353+
else:
354+
mapping[key].extend(geom_paths)
352355
else:
353356
geom_paths = cpatch.geos_to_path(geom)
354357
mapping[key] = geom_paths

0 commit comments

Comments
 (0)