【发布时间】:2019-02-05 08:11:03
【问题描述】:
我的图表标题在这个jointplot 上的位置很糟糕。我已经尝试移动loc = 'left、right 和center,但它并没有从它所在的位置移动。我也尝试过类似ax.title.set_position([3, 15]) 的东西,基于此站点的其他建议,但这也根本不动它。有关控制标题位置的任何建议?
sns.jointplot(leagueWinners_season['Wins'], leagueWinners_season['Goals'], kind = 'reg', color = 'b')
plt.title('Season Winners Goal and Win Regression', loc = 'right', fontsize = 16)
plt.show()
【问题讨论】:
标签: python matplotlib location seaborn title