[Python-modules-commits] [matplotlib] 05/20: Try to use also StayPuft (a free font) for xkcd
Sandro Tosi
morph at moszumanska.debian.org
Sun Sep 25 21:54:19 UTC 2016
This is an automated email from the git hooks/post-receive script.
morph pushed a commit to branch experimental
in repository matplotlib.
commit 4044d6b90741e2200ad8ebc4d5037df7b5b715e0
Author: Sandro Tosi <morph at debian.org>
Date: Thu Oct 8 09:47:14 2015 -0700
Try to use also StayPuft (a free font) for xkcd
Origin: vendor
Bug: http://bugs.debian.org/720549
Forwarded: not-needed
Last-Update: 2013-10-06
Patch-Name: 70_bts720549_try_StayPuft_for_xkcd.patch
---
lib/matplotlib/pyplot.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/matplotlib/pyplot.py b/lib/matplotlib/pyplot.py
index f6c8890..82f5dd8 100644
--- a/lib/matplotlib/pyplot.py
+++ b/lib/matplotlib/pyplot.py
@@ -400,7 +400,7 @@ def xkcd(scale=1, length=100, randomness=2):
from matplotlib import patheffects
context = rc_context()
try:
- rcParams['font.family'] = ['xkcd', 'Humor Sans', 'Comic Sans MS']
+ rcParams['font.family'] = ['xkcd', 'Humor Sans', 'Comic Sans MS', 'StayPuft']
rcParams['font.size'] = 14.0
rcParams['path.sketch'] = (scale, length, randomness)
rcParams['path.effects'] = [
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/matplotlib.git
More information about the Python-modules-commits
mailing list