如何在 Seaborn 图上绘制一个圆圈? [英] How can a circle be drawn over a Seaborn plot?

查看:99
本文介绍了如何在 Seaborn 图上绘制一个圆圈?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 Seaborn Joinplot,我想在其上绘制一个空圆,该圆将标记 (0,0) 点周围的某个直径.像这样的东西:

I have a Seaborn Joinplot on which I want to draw an empty circle which will mark a certain diameter around the (0,0) point. Something like this:

怎么做?

推荐答案

我找到了答案:

a = sns.jointplot(x=var_x, y=var_y, data=my_df)

a.ax_joint.plot([0],[0],'o',ms=60 , mec='r', mfc='none')

这篇关于如何在 Seaborn 图上绘制一个圆圈?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆