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 cb11f27

Browse filesBrowse files
Add xkcd font as one of the options
The official xkcd font https://github.com/ipython/xkcd-font was missing from the list of what is looked for when the user selects xkcd mode. Since it is the "official" font, it has been added to the top of the list.
1 parent 96003f9 commit cb11f27
Copy full SHA for cb11f27

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
@@ -399,7 +399,7 @@ def xkcd(scale=1, length=100, randomness=2):
399399
from matplotlib import patheffects
400400
context = rc_context()
401401
try:
402-
rcParams['font.family'] = ['Humor Sans', 'Comic Sans MS']
402+
rcParams['font.family'] = ['xkcd', 'Humor Sans', 'Comic Sans MS']
403403
rcParams['font.size'] = 14.0
404404
rcParams['path.sketch'] = (scale, length, randomness)
405405
rcParams['path.effects'] = [

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.