Skip to content

nonsensical error message for invalid input to plt.bar #6820

Closed
@anntzer

Description

@anntzer

mpl2.0b3, py3.5.2

In [1]: plt.bar(range(3), 1)
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<elided>
ValueError: incompatible sizes: argument 'height' must be length 3 or scalar

Well, it is a scalar...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions