Skip to content

Commit d3101f3

Browse files
Gallery example "Color points by categories": Update "color" to "fill" in introduction text (#3340)
1 parent 917b3aa commit d3101f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/gallery/symbols/points_categorical.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
color-coded by categories. In the example below, we show how the
77
`Palmer Penguins dataset <https://github.com/allisonhorst/palmerpenguins>`__
88
can be visualized. Here, we can pass the individual categories included in
9-
the "species" column directly to the ``color`` parameter via
10-
``color=df.species.cat.codes.astype(int)``. Additionally, we have to set
9+
the "species" column directly to the ``fill`` parameter via
10+
``fill=df.species.cat.codes.astype(int)``. Additionally, we have to set
1111
``cmap=True``. A desired colormap can be selected via the :func:`pygmt.makecpt`
1212
function.
1313
"""

0 commit comments

Comments
 (0)