You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To get contour labelling working with its special transforms, Cartopy has a workaround where it replaces all the paths on the ContourSet with transformed versions. This currently looks like
I'm actually a bit confused as to why Collection.set_paths raises NotImplementedError instead of setting self._paths (which is what Collection.get_paths already returns).
Activity
anntzer commentedon Jul 18, 2023
I'm actually a bit confused as to why Collection.set_paths raises NotImplementedError instead of setting self._paths (which is what Collection.get_paths already returns).
rcomer commentedon Jul 18, 2023
Thanks @anntzer. So would it be enough to just copy what
PathCollectionhas?matplotlib/lib/matplotlib/collections.py
Lines 1004 to 1006 in 2a4d905
anntzer commentedon Jul 18, 2023
Untested, but possibly yes?