plt.scatter函数中的alpha
时间: 2023-10-24 18:32:33 浏览: 237
plt.scatter函数中的alpha参数是用来设置点的透明度的。通过调整alpha参数的值,可以使点的颜色更加透明或者更加鲜艳。在提供的代码中,alpha参数被设置为1,表示点的颜色是完全不透明的。如果将alpha参数设置为0,则表示点是完全透明的,而设置为介于0和1之间的值,则表示点的透明度介于完全透明和完全不透明之间。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [plt.scatter()函数解析(最清晰的解释)](https://blog.csdn.net/TeFuirnever/article/details/88944438)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [python scatter函数用法实例详解](https://download.csdn.net/download/weixin_38610870/13738924)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文