在Barplot中删除组之间的空白
我不想更改无花果大小,因为它会阻碍可读性。只需要将这个空白调整为我的喜好即可。摆弄线宽,但没有运气。用这一行创建图:
ax = sns.barplot( y='config', x='value', hue='variable',
data=pd.melt(df2, ['config']), orient='h', linewidth=0)
I do have a plot and want to close the gaps between row group elements as indicated above:
I don't want to change the figsize since it hampers readability. Just need to adjust that white space to my liking. Fiddled with linewidth but no luck. Creating plots with this line:
ax = sns.barplot( y='config', x='value', hue='variable',
data=pd.melt(df2, ['config']), orient='h', linewidth=0)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论