plt.scatter散点边框粗细
时间: 2023-08-14 20:14:53 浏览: 340
Python matplotlib通过plt.scatter画空心圆标记出特定的点方法
在使用plt.scatter函数绘制散点图时,可以通过设置linewidth参数来调整散点的边框粗细。例如,可以使用plt.scatter(x, y, linewidths=2)来设置散点的边框粗细为2个像素。
#### 引用[.reference_title]
- *1* *3* [python——matplotlib提升应用plt.bar、plt.hist、plt.plot、plt.boxplot、plt.scatter](https://blog.csdn.net/weixin_43794311/article/details/105102003)[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* [python库matplotlib绘制折线图,散点图以及设置样式](https://blog.csdn.net/zjh12312311/article/details/103954823)[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 ]
阅读全文