-
-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Labels
Release criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.topic: contour
Milestone
Description
Bug summary
The new ContourSet
does not have an antialiased
attribute. This causes failures in Iris, which checks the attribute.
Code for reproduction
import matplotlib.pyplot as plt
cs = plt.contour([[0, 1], [1, 2]], antialiased=True)
cs.antialiased
Actual outcome
Traceback (most recent call last):
File "/contour_antialiased.py", line 4, in <module>
cs.antialiased
AttributeError: 'QuadContourSet' object has no attribute 'antialiased'. Did you mean: '_antialiaseds'?
Expected outcome
With v3.7.1, I can access this attribute.
Additional information
Marking as release critical, as this is a regression.
Operating system
RHEL7
Matplotlib Version
main
Matplotlib Backend
QtAgg
Python version
3.11.4
Jupyter version
N/A
Installation
git checkout
Metadata
Metadata
Assignees
Labels
Release criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.topic: contour