You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7ce8eae
Browse filesBrowse the repository at this point in the historyBrowse files
- Any API that creates a `.Text` object by passing the *language* argument (e.g.,
11
+
``plt.xlabel(..., language=...)``)
12
+
13
+
The language of the text must be in a format accepted by libraqm, namely `a BCP47
14
+
language code <https://www.w3.org/International/articles/language-tags/>`_. If None or
15
+
unset, then no particular language will be implied, and default font settings will be
16
+
used.
17
+
18
+
For example, Matplotlib's default font ``DejaVu Sans`` supports language-specific glyphs
19
+
in the Serbian and Macedonian languages in the Cyrillic alphabet (vs Russian),
20
+
or the Sámi family of languages in the Latin alphabet (vs English).
Copy file name to clipboardExpand all lines: lib/matplotlib/mpl-data/matplotlibrc
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -292,6 +292,11 @@
292
292
## for more information on text properties
293
293
#text.color: black
294
294
295
+
## The language of the text in a format accepted by libraqm, namely `a BCP47 language
296
+
## code <https://www.w3.org/International/articles/language-tags/>`_. If None, then no
297
+
## particular language will be implied, and default font settings will be used.
298
+
#text.language: None
299
+
295
300
## FreeType hinting flag ("foo" corresponds to FT_LOAD_FOO); may be one of the
296
301
## following (Proprietary Matplotlib-specific synonyms are given in parentheses,
0 commit comments