JuliaPy / JuliaPy/PyPlot.jl

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

Open
#599 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
488
Forks
90
PR merge metrics
No merged PRs in 30d

Description

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
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.