首页 > 解决方案 > 如何在 Seaborn 图上画一个圆?

问题描述

我有一个 Seaborn Joinplot,我想在其上绘制一个空圆圈,该圆圈将标记 (0,0) 点周围的某个直径。像这样的东西: 在此处输入图像描述

怎么做到呢?

标签: pythonseaborn

解决方案


我找到了答案:

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')

推荐阅读