8000 Merge pull request #29605 from meeseeksmachine/auto-backport-of-pr-29… · matplotlib/matplotlib@c27dd9a · GitHub
[go: up one dir, main page]

Skip to content

Commit c27dd9a

Browse filesBrowse files
authored
Merge pull request #29605 from meeseeksmachine/auto-backport-of-pr-29601-on-v3.10.0-doc
2 parents 35eb7b4 + 71dd07b commit c27dd9a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

galleries/examples/lines_bars_and_markers/categorical_variables.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@
2020

2121

2222
# %%
23-
# This works on both Axes:
23+
# Categorical values are a mapping from names to positions. This means that
24+
# values that occur multiple times are mapped to the same position. See the
25+
# ``cat`` and ``dog`` values "happy" and "bored" on the y-axis in the following
26+
# example.
2427

2528
cat = ["bored", "happy", "bored", "bored", "happy", "bored"]
2629
dog = ["happy", "happy", "happy", "happy", "bored", "bored"]

0 commit comments

Comments
 (0)
0