Skip to content

Commit

Permalink
Merge pull request SciTools#2218 from rcomer/cs-set_paths
Browse files Browse the repository at this point in the history
use ContourSet.set_paths
  • Loading branch information
greglucas authored Jul 19, 2023
2 parents 2ed668c + d2c99a8 commit 7839058
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cartopy/mpl/contour.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def clabel(self, *args, **kwargs):
# collection's paths.
paths = self.get_paths()
new_paths = [col_to_data.transform_path(path) for path in paths]
paths[:] = new_paths
self.set_paths(new_paths)

# The collection will now be referenced in axes projection
# coordinates.
Expand Down

0 comments on commit 7839058

Please sign in to comment.