update bar width in Fig 7

This commit is contained in:
nkoch1 2023-04-24 20:28:50 -04:00
parent a59dc0eb40
commit 66b2295de3
5 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 271 KiB

After

Width:  |  Height:  |  Size: 271 KiB

View File

@ -259,7 +259,7 @@ def plot_g(ax, df, i):
tab10 = [cm.tab10(x) for x in np.linspace(0., 1, 10)] tab10 = [cm.tab10(x) for x in np.linspace(0., 1, 10)]
Accent = [cm.Accent(x) for x in np.linspace(0., 1, 8)] Accent = [cm.Accent(x) for x in np.linspace(0., 1, 8)]
colors = [colorslist[2], Accent[7], tab10[4], 'limegreen', tab10[5], tab10[9], tab10[1], 'fuchsia'] colors = [colorslist[2], Accent[7], tab10[4], 'limegreen', tab10[5], tab10[9], tab10[1], 'fuchsia']
df.plot.bar(y=i, rot=90, ax=ax, legend=False, color=colors, ylabel='$\mathrm{g}_{\mathrm{max}}$') df.plot.bar(y=i, rot=90, ax=ax, legend=False, color=colors, ylabel='$\mathrm{g}_{\mathrm{max}}$', width=0.75)
# ax.set_title(models[i], fontsize=titlesize) # ax.set_title(models[i], fontsize=titlesize)
show_spines(ax, spines='lb') show_spines(ax, spines='lb')
ax.set_xticks([]) ax.set_xticks([])

Binary file not shown.

Before

Width:  |  Height:  |  Size: 271 KiB

After

Width:  |  Height:  |  Size: 271 KiB