X Tutup
Skip to content

pyplot.scatter not converting *x* and *y* to a 1-D sequence when the input is a 1xN matrix... #2138

@saullocastro

Description

@saullocastro

Please, refer to this question in StackOverflow:
http://stackoverflow.com/q/17189313/832621

where the user was trying to compare two plots that should be identical, and the solution was that in pyplot.scatter the np.ma.ravel() does not convert a 1xN matrix to a 1-D array with length N. But if we do np.ravel() instead of np.ma.ravel() it works...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup