Skip to content

Commit 45ca7d6

Browse files
committed
Use TrueType fonts in main figures
1 parent 1f5c89c commit 45ca7d6

File tree

26 files changed

+24
-4
lines changed

26 files changed

+24
-4
lines changed

notebooks/astex_diverse_inference_results_plotting.ipynb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"source": [
2323
"import os\n",
2424
"\n",
25+
"import matplotlib as mpl\n",
2526
"import matplotlib.pyplot as plt\n",
2627
"import matplotlib.ticker as mtick\n",
2728
"import pandas as pd\n",
@@ -43,7 +44,11 @@
4344
"metadata": {},
4445
"outputs": [],
4546
"source": [
46-
"pd.options.mode.copy_on_write = True"
47+
"pd.options.mode.copy_on_write = True\n",
48+
"\n",
49+
"mpl.rcParams[\"figure.dpi\"] = 300\n",
50+
"mpl.rcParams[\"pdf.fonttype\"] = 42\n",
51+
"mpl.rcParams[\"ps.fonttype\"] = 42"
4752
]
4853
},
4954
{
-3.97 KB
Binary file not shown.
Binary file not shown.
-3.04 KB
Binary file not shown.
-3.38 KB
Binary file not shown.
Binary file not shown.
-3.06 KB
Binary file not shown.
Binary file not shown.
-3.39 KB
Binary file not shown.
-4.05 KB
Binary file not shown.

0 commit comments

Comments
 (0)