Python Seaborn恢复标记边缘

Python Seaborn恢复标记边缘,python,matplotlib,seaborn,Python,Matplotlib,Seaborn,显然,导入seaborn会将matplotlib.pyplot.plot中的标记边设置为零或删除它们 e、 g.plt.绘图(x,y,maker='s',markerface='none') 结果是没有标记的绘图 有没有办法恢复边缘 markeredgecolor='k'无效。试试edgecolor='k'。这在类似的散点图中对我有效 解决方案是在导入seaborn后执行以下操作: matplotlib.rcParams['lines.markeredgewidth']=1markeredgew

显然,导入seaborn会将
matplotlib.pyplot.plot
中的标记边设置为零或删除它们

e、 g.
plt.绘图(x,y,maker='s',markerface='none')
结果是没有标记的绘图

有没有办法恢复边缘


markeredgecolor='k'
无效。

试试
edgecolor='k'
。这在类似的散点图中对我有效

解决方案是在导入seaborn后执行以下操作:


matplotlib.rcParams['lines.markeredgewidth']=1
markeredgewidth
mew
这适用于pyplot.plot(),谁为pyplot.scatter()执行此操作?
plt.scatter
具有不同名称的关键字参数,我认为您需要
linewidth