码迷,mamicode.com
首页 > 其他好文 > 详细

use matplotlib to drew a table

时间:2020-02-20 20:29:31      阅读:66      评论:0      收藏:0      [点我收藏+]

标签: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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!