ax = sns.scatterplot(data=kk, x='celltype', y='ADFCA') ax.set_xticklabels(ax.get_xticklabels(), rotation=90) '#调整图像 X 轴标签 ax.set_yscale('log') #对 Y 轴进行 Log 处理 fig_used=plt.gcf() #捕获图像 fig_used.set_size_inches(15,10) #调整图像尺寸 plt.subplots_adjust(left=0.1, right=0.95, top=0.9, bottom=0.5) #调整图像边距 fig_used.savefig('/path/Cell_proportion_of_ADFCA.pdf', format='pdf', dpi=300)








网友评论