Skip to content

hist2D requires capitalization of the "D", but axis.hist2d needs to be lowercase #599

@ThePurox

Description

@ThePurox

commit 40632c7 explains that in PyPlot the "D"s in hist2D and the like are capitalized in PyPlot.
The pyplot wrapper requires capitalization, but when the function is called on/by an axis object, the opposite is true:

hist2D(...) # works
hist2d(...) # throws ERROR: UndefVarError: `hist2d` not defined in `Main`
fig, ax = plt.sublots()
ax.hist2D(...) # throws ERROR: KeyError: key :hist2D not found
ax.hist2d(...) # works

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions