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

Sandro Tosi morph at moszumanska.debian.org
Sun Feb 7 22:04:18 UTC 2016


This is an automated email from the git hooks/post-receive script.

morph pushed a commit to branch master
in repository matplotlib.

commit 737d18f1e151425aaba740a126fd9cfee32d3558
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 88979ec..5651ac5 100644
--- a/lib/matplotlib/pyplot.py
+++ b/lib/matplotlib/pyplot.py
@@ -392,7 +392,7 @@ def xkcd(scale=1, length=100, randomness=2):
     from matplotlib import patheffects
     context = rc_context()
     try:
-        rcParams['font.family'] = ['Humor Sans', 'Comic Sans MS']
+        rcParams['font.family'] = ['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