Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Closed
Labels
Milestone
Description
Documentation Link
https://matplotlib.org/stable/api/contour_api.html#matplotlib.contour.QuadContourSet
https://matplotlib.org/devdocs/api/contour_api.html
Problem
- Version 3.10.0
- The QuadContourSet does not contain a collections attribute like the documentation says it should. Could someone verify whether this is a code issue or a documentation issue? I must admit I don't fully understand what is supposed to happen...
- Also ax seems to have been renamed to axes.
- Code sample: (contours is the QuadContourSet object)
MN = np.linspace(0, 2, 20)
alt = np.linspace(0, 16000, 20)
EAS = np.outer(MN, alt).transpose()
levels=[100, 400]
contours = plt.contour(MN, alt, EAS, levels, colors='k', linewidths=0.5)
Suggested improvement
- Change documentation of QuadContourSet to reflect the correct atributes contained.