plt.scatter散点边框
时间: 2023-08-14 21:14:51 浏览: 119
plt.scatter函数可以通过设置参数edgecolors来控制散点的边框颜色。可以使用具体的颜色名称(如'red'、'blue')或者使用RGB值来指定边框颜色。例如,设置边框颜色为红色可以使用edgecolors='red'。\[2\]
#### 引用[.reference_title]
- *1* [plt.plot(),plt.scatter(),plt.legend函数的用法介绍](https://blog.csdn.net/qq_43186282/article/details/121513266)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [matplotlib可视化之散点图plt.scatter()](https://blog.csdn.net/weixin_46707493/article/details/119831397)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [用plt.scatter画散点图](https://blog.csdn.net/m0_64163477/article/details/121277801)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文