diff --git a/code/lib/lmdk_lib.py b/code/lib/lmdk_lib.py index 1072461..271a1a6 100644 --- a/code/lib/lmdk_lib.py +++ b/code/lib/lmdk_lib.py @@ -24,7 +24,6 @@ marker_size = 14.0 tick_length = 8.0 - def add_polar_noise(loc, epsilon): ''' Add noise from planar Laplace. @@ -639,6 +638,9 @@ def plot_init(): plt.rc('font', family='sans-serif') plt.rc('font', **{'sans-serif':['Liberation Sans']}) plt.rc('font', size=font_size) + # Deal with Type 3 fonts + plt.rcParams['pdf.fonttype'] = 42 + plt.rcParams['ps.fonttype'] = 42 # Grid plt.setp(plt.figure().add_subplot(111).spines.values(), linewidth=line_width) plt.grid(True, axis='y', linewidth=line_width)