matplotlib的横坐标时间总是1968
时间: 2023-09-24 12:05:14 浏览: 101
引用中的代码是用来绘制时间序列数据的图表,其中包括读取数据、格式化时间数据、设置横坐标刻度等步骤。通过这些步骤,可以将时间作为横坐标,并绘制相应的图表。而引用中提到,转化成datetime做横坐标时,时间间隔是不统一的,并且最终展示中不要求横坐标刻度精确到时间。因此,根据提供的引用内容,matplotlib的横坐标时间总是1968是不正确的。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [matplotlib 横坐标为时间数据的设置](https://blog.csdn.net/ddxad1351/article/details/101585219)[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: 33.333333333333336%"]
- *2* [python画图把时间作为横坐标的方法](https://download.csdn.net/download/weixin_38536576/13995160)[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: 33.333333333333336%"]
- *3* [matplotlib横坐标轴为日期画股价走势图,自定义限制刻度值数量避免太多重叠](https://blog.csdn.net/starlightbay/article/details/117417062)[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: 33.333333333333336%"]
[ .reference_list ]
阅读全文