标签:more atp inux port ice square for default nes
$sudo apt-get install python3-matplotlib
gyf@gyf-VirtualBox:~$ python3
Python 3.6.9 (default, Nov 7 2019, 10:44:02)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import matplotlib
>>> import matplotlib.pyplot as plt
>>> squares=[1,4,9,16,25]
>>> plt.plot(squares)
[<matplotlib.lines.Line2D object at 0x7f43fc0675f8>]
>>> plt.show()
After do that ,you will see a picture on your screen.Just try to do it.
use matplotlib to drew a table
标签:more atp inux port ice square for default nes
原文地址:https://www.cnblogs.com/guoendlesslove/p/12336955.html