[Python-modules-commits] [matplotlib] 04/10: Try to use also StayPuft (a free font) for xkcd

Sandro Tosi morph at moszumanska.debian.org
Mon Dec 19 02:30:25 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 08e645c201a933d16d170280fccb4e685822bded
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 d9b6a2a..f7e3f18 100644
--- a/lib/matplotlib/pyplot.py
+++ b/lib/matplotlib/pyplot.py
@@ -401,7 +401,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