![](/img/trans.png)
[英]How can I enumerate and add margin_titles to each subplot in a seaborn lmplot facetgrid?
[英]Subplot for Seaborn lmplot
我想创建一个 1X2 plot,我尝试 subplot 但 lmplot 没有参数'ax',不起作用
f, axes = plt.subplots(1, 2, figsize=(10, 5))
sns.lmplot(data = table2, x='hour_6_10', y = 'all_day', ax = axes[0])
我想将这些线用于子图:
sns.lmplot(data = table2, x='hour_6_10', y = 'all_day')
sns.lmplot(data = table2, x='hour_0_10', y = 'all_day')
我的数据有 3 列这样的,所以我不使用参数 'hue' 用于 Facetgrid在此处输入图像描述
请给出解决方案。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.