python画图消除网格
时间: 2023-08-26 17:18:43 浏览: 124
python画图
要消除Python画图中的网格,可以使用以下代码:
```python
ax.grid(False)
```
这将在绘图中关闭网格线。请确保在绘图之前调用此代码。<span class="em">1</span><span class="em">2</span>
#### 引用[.reference_title]
- *1* [python基础之plt.grid(网格线设置)](https://blog.csdn.net/weixin_39613540/article/details/110703663)[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^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [Python绘制股票日K图(二)添加网格](https://blog.csdn.net/YCaiYFu/article/details/126245123)[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^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文