| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
I have also tested this for the Cartopy case. |
Sorry, something went wrong.
| def set_paths(self, paths): | ||
| self._paths = paths | ||
| self.stale = True |
There was a problem hiding this comment.
I agree with @anntzer's comment #26340 (comment)
I think we could just add this change to Collection.set_paths(paths) method definition instead so others can also subclass and take advantage of it (could remove the method definition from PathCollection then too I think.
Sorry, something went wrong.
There was a problem hiding this comment.
Ah sorry, I misread @anntzer's comment. I've now updated Collection.set_paths. I left my test in because set_paths does not appear in test_collection.py. I assume the ContourSet is as good a place as any to make sure this code path is covered?
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
PR summary
Closes #26340
I didn't add a changenote because I think this is covered by "Setting properties on the ContourSet can now usually be done using standard collection setters"
https://matplotlib.org/devdocs/api/next_api_changes/behavior/25247-AL.html
PR checklist