1. 下载Python3.8.10,(最新版本一堆坑)
2. 命令终端运行(需要网络)
py -m pip install --upgrade pip
py -m pip install matplotlib

py: 输入下面代码检查是否正常

import matplotlib as mpl
import matplotlib.pyplot as plt
import numpy as np
fig, ax = plt.subplots() # Create a figure containing a single axes.
ax.plot([1, 2, 3, 4], [1, 4, 2, 3]); # Plot some data on the axes.
plt.show()

相关文章:

  • 2021-07-25
  • 2021-06-27
  • 2021-11-16
  • 2022-12-23
  • 2021-10-31
  • 2021-07-07
  • 2021-11-26
  • 2022-01-07
猜你喜欢
  • 2021-05-05
  • 2021-11-21
  • 2021-12-09
  • 2021-12-08
  • 2021-06-22
相关资源
相似解决方案