@@ -98,7 +98,7 @@ fig, ax = plt.subplots(dpi=200)
98
98
99
99
for col in cols:
100
100
ax.plot(df_fig5_bef1914.index,
101
- df_fig5_bef1914[col], label=col)
101
+ df_fig5_bef1914[col], label=col, lw=2 )
102
102
103
103
ax.legend()
104
104
ax.set_ylabel('Index 1913 = 100')
@@ -165,7 +165,7 @@ mystnb:
165
165
fig, ax = plt.subplots(dpi=200)
166
166
167
167
for col in cols:
168
- ax.plot(df_fig5.index, df_fig5[col])
168
+ ax.plot(df_fig5.index, df_fig5[col], lw=2 )
169
169
ax.text(x=df_fig5.index[-1]+2,
170
170
y=df_fig5[col].iloc[-1], s=col)
171
171
@@ -285,12 +285,12 @@ def pe_plot(p_seq, e_seq, index, labs, ax):
285
285
p_lab, e_lab = labs
286
286
287
287
# plot price and exchange rates
288
- ax.plot(index, p_seq, label=p_lab, color='tab:blue')
288
+ ax.plot(index, p_seq, label=p_lab, color='tab:blue', lw=2 )
289
289
290
290
# add a new axis
291
291
ax1 = ax.twinx()
292
- ax1.plot([None], [None], label=p_lab, color='tab:blue')
293
- ax1.plot(index, e_seq, label=e_lab, color='tab:orange')
292
+ ax1.plot([None], [None], label=p_lab, color='tab:blue', lw=2 )
293
+ ax1.plot(index, e_seq, label=e_lab, color='tab:orange', lw=2 )
294
294
295
295
# set log axes
296
296
ax.set_yscale('log')
@@ -325,7 +325,7 @@ def pr_plot(p_seq, index, ax):
325
325
326
326
# calculate and plot moving average
327
327
diff_smooth = pd.DataFrame(log_diff_p).rolling(3, center=True).mean()
328
- ax.plot(index[1:], diff_smooth, label='Moving average (3 period)', alpha=0.5)
328
+ ax.plot(index[1:], diff_smooth, label='Moving average (3 period)', alpha=0.5, lw=2 )
329
329
ax.text(-0.08, 1.03,
330
330
'Monthly Inflation Rate',
331
331
transform=ax.transAxes)
0 commit comments