Skip to content

Commit e78410d

Browse files
committed
set some default matplotlib.rcParams for plot
1 parent 7ee3d5e commit e78410d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

qmplot/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
import matplotlib
12
from .modules import manhattanplot, qqplot, qqnorm
23

4+
matplotlib.rcParams['ps.fonttype'] = 42
5+
matplotlib.rcParams['pdf.fonttype'] = 42
6+
matplotlib.rcParams['font.sans-serif'] = ["Arial","Lucida Sans","DejaVu Sans","Lucida Grande","Verdana"]
7+
matplotlib.rcParams['font.family'] = 'sans-serif'
8+
39
__all__ = ["manhattanplot", "qqplot", "qqnorm"]

0 commit comments

Comments
 (0)