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

P=tutu

时间:2019-12-27 15:08:23      阅读:77      评论:0      收藏:0      [点我收藏+]

标签:audio   one   control   add   class   lib   png   style   size   

import numpy as np
import matplotlib.pyplot as plt
%matplotlib inline

fig = plt.figure(figsize=(3, 3))
ax = fig.add_subplot(1, 1, 1)

x = np.linspace(0, 5, 100)
y = x

a1x=[1,2,3,4]
a1y=[1.1,2.2,3.1,4.1]

ax.plot(x, y, r-)
ax.scatter(a1x,a1y,s=25,alpha=.5)

fig.savefig(static_map.png)

 

P=tutu

标签:audio   one   control   add   class   lib   png   style   size   

原文地址:https://www.cnblogs.com/Marigolci/p/12107316.html

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