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
Traceback (most recent call last):
File "/Users/46h/repo/ultraplot/tests/test_contourf.py", line 9, in <module>
ax.contourf(values.T)
File "/Users/46h/repo/ultraplot/ultraplot/internals/inputs.py", line 327, in _preprocess_or_redirect
return func(self, *args, **kwargs) # call unbound method
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/46h/repo/ultraplot/ultraplot/axes/plot.py", line 4224, in contourf
self._fix_patch_edges(m, **edgefix_kw, **contour_kw) # no-op if not contour_kw
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/46h/repo/ultraplot/ultraplot/axes/plot.py", line 1811, in _fix_patch_edges
for contour in obj.collections:
^^^^^^^^^^^^^^^
AttributeError: 'QuadContourSet' object has no attribute 'collections'
We are currently not supporting 3.10. Having said that, the issue you raised was on my todo! I left some comments on the PR you raised. Thanks for the input :D!
Activity
austin-hoover commentedon Jan 10, 2025
Removing the for loop below fixes the problem.
https://github.com/Ultraplot/ultraplot/blob/6b8223a8c3dbb77662bcb8ce0afd38f133dfd0d8/ultraplot/axes/plot.py#L1805-L1814
Fixes Ultraplot#14
thibaultDrt commentedon Jan 11, 2025
Tricontourf encounters a similar issue.
This is working 👍
This is not working 👎
cvanelteren commentedon Jan 11, 2025
We are currently not supporting 3.10. Having said that, the issue you raised was on my todo! I left some comments on the PR you raised. Thanks for the input :D!
cvanelteren commentedon Jan 11, 2025
Fixed and merge in main. See the tag release page for the latest.