我用seaborn创建了一个散点图:import seaborn as sns

sns.set(style="ticks", color_codes=True)

g=sns.scatterplot(x="length", y="coverage", data=df, hue = 'Products', edgecolors=None, alpha = 0.7)

g.set(yscale="log")

plt.xlabel("Length(bp)")

plt.ylabel("Coverage")

plt.legend(loc = 'lower right')

plt.savefig('ATN_plot.png',dpi = 600)

原始数据(部分):contig length coverage pathway Products

53 1230 2423 stigmatellin Yes

58 1195 885 curacin Yes

65 1161 598 jamaicamide Yes

68 1159 8001 jamaicamide Yes

79 1113 1423 curacin Yes

105 1042 1106 stigmatellin Yes

727 666 223 HSAF (heat stable antifungal factor) Yes

787 655 37 curacin Yes

791 654 13 stigmatellin Yes

798 652 49 stigmatellin Yes

844 642 5774 jamaicamide Yes

89 1090 13 No No

90 1089 10 No No

91 1086 26 No No

92 1080 16 No No

93 1079 10 No No

94 1079 13 No No

最后的情节是这样的:

我不喜欢斑点的白边。图像的左下半部分,其中大部分斑点是累积的,看起来太白了。我的代码中已经包含了“edgecolors=None”,但它似乎不起作用。有人知道如何去除边缘颜色或将其更改为其他颜色吗?

非常感谢!

python修改散点图中点的颜色_如何在seaborn散点图中更改点边颜色?相关推荐

  1. os 修改文件夹 名_如何在OS X中更改文件夹和应用程序图标

    os 修改文件夹 名 One of the best ways to customize your Mac and make it your own is to change your app and ...

  2. letax 幻灯片背景颜色_如何在Google幻灯片中更改背景

    letax 幻灯片背景颜色 You can use backgrounds on slides to spruce up your Google Slides project and help cap ...

  3. win10 关机变注销重启_如何在Windows 10中更改Windows 10注销,登录和关机声音

    win10 关机变注销重启 Before Windows 10 came along, we were free to change the sounds that played when we sh ...

  4. appstore 屏幕快照_如何在OS X中更改屏幕快照文件类型

    appstore 屏幕快照 Taking a screenshot on OS X is easy, and you can even change the destination location  ...

  5. 如何在谷歌地图自定义范围_如何在Google表格中更改和创建自定义数字格式

    如何在谷歌地图自定义范围 Khamosh Pathak Khamosh Pathak By default, Google Sheets doesn't format numbers. If you' ...

  6. 移动硬盘更改驱动器号和路径_如何在Windows 10中更改默认硬盘驱动器以保存文档和应用程序...

    移动硬盘更改驱动器号和路径 Whenever you save a new file in Windows 10, the Save As window defaults to whichever o ...

  7. word标尺灰色_如何在Microsoft Word中更改标尺测量单位

    word标尺灰色 In Word, you can select one of several units of measurement for the ruler. This is useful w ...

  8. apple 更改国家_如何在Apple Maps中更改家庭住址

    apple 更改国家 Apple Maps doesn't automatically detect your Home address. If you move, Apple Maps and it ...

  9. 多线程计算多分批计算_如何在Excel 2013中更改自动计算和多线程功能

    多线程计算多分批计算 By default, Excel recalculates all the formulas in your worksheet automatically when you ...

最新文章

  1. Github上这几个沙雕项目,够我玩三天!
  2. solr索引服务器的配置和solrj集成开发总结
  3. leetcode算法题--最低票价★
  4. 使用 TreeSet 生成数组
  5. 105_键盘事件对象
  6. 以色列对话国际农民丰收节贸易会-万祥军:谋定无中生有
  7. Mybatis—代理开发和核心配置文件深入
  8. 解决使用pip无法安装rasa与无限依赖告警:INFO: This is taking longer than usual. You might need to provide the....
  9. Flutter基础—定位对齐之中心定位
  10. [Python+MATLAB] 在Python中使用MATLAB (持续更新中)
  11. UNIX-LINUX编程实践教程-第五章-实例代码注解-echostate.c
  12. 新手必须知道的典型自动脱螺纹注射模设计!!!
  13. 简单测试.NET开源的PDF文档生成器QuestPDF
  14. 锌离子荧光探针Zinquin 乙酯
  15. 母亲节为什么要定在5月的第二个星期日? [节假日]
  16. x86服务器能装64位系统吗,x86处理器能装64位系统吗_64位系统装32位的可以么
  17. Android Study 之 聊聊有关SVG那些事儿
  18. SpringCloud整合Sa-Token登录认证+Gateway网关拦截
  19. 安百拓西安仓储物流中心正式运营;中外运敦豪广东分公司迁新址 | 美通企业日报...
  20. 数据结构 - 队列 环形队列(循环队列)

热门文章

  1. 比较两个文本中数据不同的行
  2. 利用计算机提出算法分析问题,应用计算机计算不可积类型的积分算法分析
  3. signature=ad248ee50cb35fb429594f302bf99ddf,动态源路由协议在无线自组网中的研究与应用...
  4. 分区字段必须包含在主键字段_十年Java开发经验分享:24 个必须掌握的数据库面试问题...
  5. or导致索引失效的解决方法_电容引脚断裂失效的机理和解决方法
  6. vue 报错 Error: timeout of 5000ms exceeded
  7. selenium+webdriver错误...exceptions.ElementNotInteractableException: Message: Element is not visible处理
  8. 剑指offer面试题[29]-数组中出现次数超过一半的数字
  9. 亲密关系沟通-【独特性】尊重与探索他人
  10. 软件测试工程师的核心竞争力是什么