Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b395f35

Browse files
committed
added Noto Sans TC for windows docs builds
1 parent 4381c4b commit b395f35

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/users/prev_whats_new/whats_new_3.6.0.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -558,8 +558,8 @@ them in order to locate a required glyph.
558558
fig = plt.figure(figsize=(4.75, 1.85))
559559

560560
text = "There are 几个汉字 in between!"
561-
fig.text(0.05, 0.65, text, family=["Noto Sans CJK JP"])
562-
fig.text(0.05, 0.45, text, family=["DejaVu Sans", "Noto Sans CJK JP"])
561+
fig.text(0.05, 0.65, text, family=["Noto Sans CJK JP", "Noto Sans TC"])
562+
fig.text(0.05, 0.45, text, family=["DejaVu Sans", "Noto Sans CJK JP", "Noto Sans TC"])
563563

564564
This currently works with the Agg (and all of the GUI embeddings), svg, pdf,
565565
ps, and inline backends.

galleries/users_explain/text/fonts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@
185185
fig, ax = plt.subplots()
186186
ax.text(
187187
.5, .5, "There are 几个汉字 in between!",
188-
family=['DejaVu Sans', 'Noto Sans CJK JP'],
188+
family=['DejaVu Sans', 'Noto Sans CJK JP', 'Noto Sans TC'],
189189
ha='center'
190190
)
191191

0 commit comments

Comments
 (0)