我想创建一个时间序列图,使用seaborn.tsplot
类似于此示例中的tsplot
文档,但图例移到右侧,图中.
基于seaborn的timeseries.py中的 339-340行,看起来seaborn.tsplot
目前不允许直接控制图例放置:
if legend:
ax.legend(loc=0, title=legend_name)
Run Code Online (Sandbox Code Playgroud)
是否有matplotlib解决方法?我正在使用seaborn 0.6-dev.