Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5affd07

Browse filesBrowse files
authored
Merge pull request #29604 from meeseeksmachine/auto-backport-of-pr-29601-on-v3.10.x
2 parents 97aa6d5 + 466a468 commit 5affd07
Copy full SHA for 5affd07

File tree

1 file changed

+4
-1
lines changed
Filter options

1 file changed

+4
-1
lines changed

‎galleries/examples/lines_bars_and_markers/categorical_variables.py

Copy file name to clipboardExpand all lines: galleries/examples/lines_bars_and_markers/categorical_variables.py
+4-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.