8000 Bug in 3D histogram documentation · Issue #1702 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
Bug in 3D histogram documentation #1702
Closed
@TormodLandet

Description

@TormodLandet

The documentation on http://matplotlib.org/examples/mplot3d/hist3d_demo.html contains use of numpy.meshgrid, numpy.histogram2d and flatten. Meshgrid returns arrays of shape (ny, nx) while histogram2d returns arrays of shape (nx, ny). Thus, one or the other has to be transposed in order to use them all together after flatten (or flatten must be run with order='F' on one of the results)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0