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 8d187df

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

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎lib/matplotlib/pyplot.py

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