[Python-modules-commits] [matplotlib] 05/17: Try to use also StayPuft (a free font) for xkcd
Sandro Tosi
morph at moszumanska.debian.org
Sun Feb 12 23:42:09 UTC 2017
This is an automated email from the git hooks/post-receive script.
morph pushed a commit to branch master
in repository matplotlib.
commit 90ee017367a8755086b1ed0a39a931dce0a2c383
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 09e044e..0ea97d3 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