JuliaPy / JuliaPy/PyPlot.jl

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

Offen
#599 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Julia
Sterne
488
Forks
90
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.