Skip to content

Commit

Permalink
Rename Z alias in histogram
Browse files Browse the repository at this point in the history
As discussed in #1272 the alias for Z should be renamed since ``type`` is already used as Python built-in method.
  • Loading branch information
michaelgrund authored May 14, 2021
1 parent d32fff5 commit 0f912b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pygmt/src/histogram.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
W="pen",
X="xshift",
Y="yshift",
Z="type",
Z="histtype",
c="panel",
l="label",
p="perspective",
Expand Down Expand Up @@ -102,7 +102,7 @@ def histogram(self, table, **kwargs):
series : int or str or list
[*min*\ /*max*\ /]\ *inc*\ [**+n**\ ].
Set the interval for the width of each bar in the histogram.
type : int or str
histtype : int or str
[*type*][**+w**].
Choose between 6 types of histograms:
Expand Down

0 comments on commit 0f912b3

Please sign in to comment.