Skip to content

Commit

Permalink
use ContourSet.set_paths
Browse files Browse the repository at this point in the history
  • Loading branch information
rcomer committed Jul 18, 2023
1 parent 2ed668c commit d2c99a8
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 d2c99a8

Please sign in to comment.