8000 Merge pull request #13476 from chrjen/patch-1 · matplotlib/matplotlib@8d187df · GitHub
[go: up one dir, main page]

Skip to content
10000

Commit 8d187df

Browse files
authored
Merge pull request #13476 from chrjen/patch-1
Add font to pyplot.xkcd()
2 parents 2ddb238 + 069a056 commit 8d187df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/pyplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ def xkcd(scale=1, length=100, randomness=2):
383383

384384
from matplotlib import patheffects
385385
return rc_context({
386-
'font.family': ['xkcd', 'Humor Sans', 'Comic Sans MS'],
386+
'font.family': ['xkcd', 'xkcd Script', 'Humor Sans', 'Comic Sans MS'],
387387
'font.size': 14.0,
388388
'path.sketch': (scale, length, randomness),
389389
'path.effects': [patheffects.withStroke(linewidth=4, foreground="w")],

0 commit comments

Comments
 (0)
0