[DOC] Undocumented behavior in streamplot · Issue #13974 · matplotlib/matplotlib · GitHub
Skip to content

[DOC] Undocumented behavior in streamplot #13974

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions