I have the following plot, however it prints extremely narrowly with wide margins.
names = ['VCI', 'FRI', 'QII', 'VSI', 'WMI', 'PSI', 'GAI', 'CPI', 'FSIQ']
values = [102, 129, 129, 160, 149, 128, 134, 120, 118]
plt.subplot(132)
for x in range(len(values)):
plt.scatter(names[x], values[x], marker = "$"+str(values[x])+"$", color = "black", s=300)
plt.plot(values[:6], color = 'black', linestyle = 'dashed')
plt.yticks(ticks=[40,50,60,70,80,90,100,110,120,130,140,150,160,170,180])
plt.minorticks_on()
plt.tick_params(axis='x', which='minor', bottom=False)
plt.show()
I tried using the following code, and while the plot itself was a usable size, the margins are way way too wide.
plt.figure(figsize=(20, 5))
What can I do to make the plot readable with narrow/no margins.