-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Quadmesh.set_array should validate dimensions #17508
Copy link
Copy link
Closed
Labels
API: argument checkingDifficulty: Mediumhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issueshttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issuesGood first issueOpen a pull request against these issues if there are no active ones!Open a pull request against these issues if there are no active ones!
Milestone
Metadata
Metadata
Assignees
Labels
API: argument checkingDifficulty: Mediumhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issueshttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issuesGood first issueOpen a pull request against these issues if there are no active ones!Open a pull request against these issues if there are no active ones!
#16908 has added the ability to call
Quadmesh.set_arraywith a 2-D argument.When a Quadmesh is instantiated, its grid of vertices is fixed. It would be good to
have
set_arrayvalidate its argument so that regardless of whether it has alreadybeen flattened or whether it is a 2-D array such as one would supply to
pcolormesh,its dimensions are consistent with the dimensions of the vertex grid.