You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
It seems that Grid objects only work with 2D arrays created as in np.meshgrid(x,y, indexing="xy"), and not as in np.meshgrid(x,y, indexing="ij"). Is there a specific reason for this? I, personally, have always preferred the second way to deal with 2D (or ND) arrays.
The docstring of
ax.streamplot
(“only”) statesbut 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.
The text was updated successfully, but these errors were encountered: