forked from greenelab/multi-dwpc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmatplotlibrc
More file actions
18 lines (18 loc) · 895 Bytes
/
Copy pathmatplotlibrc
File metadata and controls
18 lines (18 loc) · 895 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Matplotlib defaults for this project.
#
# Matplotlib auto-loads `matplotlibrc` from the current working directory before
# the user/system config. Every entry point in this repo (Make, hpc/submit_*.sh,
# the run_*_pipeline orchestrators) runs from the repo root, so these defaults
# apply to all generated figures.
#
# Why fonttype 42:
# - Default `pdf.fonttype = 3` (Type 3) embeds glyphs as outlined paths in PDF
# output. Illustrator (and many other vector tools) cannot edit Type 3 text
# as text -- it shows up as un-editable filled paths.
# - `pdf.fonttype = 42` (TrueType) embeds the underlying TTF font, so labels
# remain editable text in Illustrator while staying fully vector.
# - `ps.fonttype = 42` does the same for any .eps/.ps output.
# - `svg.fonttype = none` keeps SVG text as text (no path conversion).
pdf.fonttype: 42
ps.fonttype: 42
svg.fonttype: none