lmdk_lib: Deal with Type 3 fonts
This commit is contained in:
parent
6f611b4a5f
commit
e0fccceec5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user