Skip to content

[DOC] Undocumented behavior in streamplot #13974

Closed
@afvincent

Description

@afvincent

The docstring of ax.streamplot (“only”) states

x, y : 1d arrays
    an evenly spaced grid.

but looking at the actual code in the master branch (through the interface on GitHub website), it seems that a bit more of processing is involved (through the class matplotlib.streamplot.Grid) in order to also allow at least one special case of 2d-arrays for X and Y.

Expected behavior: such special casing being made explicite in the docstring.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions