From d3101f3ffa21f4aa105ee2a1fdf705e8fe23b9f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yvonne=20Fr=C3=B6hlich?= <94163266+yvonnefroehlich@users.noreply.github.com> Date: Sat, 20 Jul 2024 02:04:05 +0200 Subject: [PATCH] Gallery example "Color points by categories": Update "color" to "fill" in introduction text (#3340) --- examples/gallery/symbols/points_categorical.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/gallery/symbols/points_categorical.py b/examples/gallery/symbols/points_categorical.py index 08b848a5dfc..f638e0d63af 100644 --- a/examples/gallery/symbols/points_categorical.py +++ b/examples/gallery/symbols/points_categorical.py @@ -6,8 +6,8 @@ color-coded by categories. In the example below, we show how the `Palmer Penguins dataset `__ can be visualized. Here, we can pass the individual categories included in -the "species" column directly to the ``color`` parameter via -``color=df.species.cat.codes.astype(int)``. Additionally, we have to set +the "species" column directly to the ``fill`` parameter via +``fill=df.species.cat.codes.astype(int)``. Additionally, we have to set ``cmap=True``. A desired colormap can be selected via the :func:`pygmt.makecpt` function. """