Skip to content
Snippets Groups Projects
Commit a1140438 authored by Shashank  Singh's avatar Shashank Singh
Browse files

Figures now include no Type 3 fonts.

parent c4ff3339
Branches main
No related tags found
No related merge requests found
......@@ -6,6 +6,11 @@ from tqdm import tqdm
from knn_regressors import passive_knn_regressor, active_knn_regressor, oracle_knn_regressor
from sampler import Sampler
# Prevent matplotlib from using Type 3 fonts
import matplotlib
matplotlib.rcParams['pdf.fonttype'] = 42
matplotlib.rcParams['ps.fonttype'] = 42
plt.rc('font', size=20) # Increase matplotlib default font size
np.random.seed(0) # Fix random seed for reproducibility
......
......@@ -5,6 +5,11 @@ from tqdm import tqdm
from knn_regressors import passive_knn_regressor, active_knn_regressor
from SIR_simulation import Sampler
# Prevent matplotlib from using Type 3 fonts
import matplotlib
matplotlib.rcParams['pdf.fonttype'] = 42
matplotlib.rcParams['ps.fonttype'] = 42
plt.rc('font', size=22) # Increase matplotlib default font size
np.random.seed(0) # Fix random seed for reproducibility
......
......@@ -4,6 +4,11 @@ import numpy as np
from knn_regressors import active_knn_regressor, oracle_knn_regressor
from SIR_simulation import Sampler
# Prevent matplotlib from using Type 3 fonts
import matplotlib
matplotlib.rcParams['pdf.fonttype'] = 42
matplotlib.rcParams['ps.fonttype'] = 42
plt.rc('font', size=22) # Increase matplotlib default font size
np.random.seed(0) # Fix random seed for reproducibility
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment