如何在python中调整eps图的大小
我写了这段代码:如何在python中调整eps图的大小,python,pandas,matplotlib,seaborn,eps,Python,Pandas,Matplotlib,Seaborn,Eps,我写了这段代码: fig, (ax1, ax2, ax3 ) = plt.subplots(1, 3, sharex=False, sharey= False, figsize=(18,10),gridspec_kw=dict( wspace=0.5)) ax1.barh(...) ax2.barh(..) ax3.barh(...) plt.savefig('C:/Users/User/Desktop/graphs_eps/unidades.eps', format='eps', dpi=
fig, (ax1, ax2, ax3 ) = plt.subplots(1, 3, sharex=False, sharey= False, figsize=(18,10),gridspec_kw=dict( wspace=0.5))
ax1.barh(...)
ax2.barh(..)
ax3.barh(...)
plt.savefig('C:/Users/User/Desktop/graphs_eps/unidades.eps', format='eps', dpi=300, bbox_inches='tight', optimize=True)
但当我看到绘图时,它的大小与我保存为png文件时的大小不同