Bootstrap

Matplotlib 不能show出来图像,咋办

The most common reason why Matplotlib does not display a figure is that pyplot.show() is not called。

你品,你细品!

import os
import matplotlib.pyplot as plt
x = [0,1]
plt.plot(x)
plt.show()
print('test matplot')