PHP PSR标准规范,PHP开发者都需要遵循规范. 官网(英文版本): https://www.php-fig.org 官网(中文版本): https://psr.phphub.org ...
分类:
Web程序 时间:
2018-10-08 19:36:31
阅读次数:
186
import matplotlib.pyplot as plt import numpy as np x = np.arange(0, 10, 0.1) y1 = 0.05 * x**2 y2 = -1 * y1 fig, ax1 = plt.subplots() #获取figure默认的坐标系 a... ...
分类:
其他好文 时间:
2018-09-04 14:02:13
阅读次数:
184
from matplotlib import pyplot as plt from matplotlib import animation import numpy as np fig, ax = plt.subplots() x = np.arange(0, 2*np.pi, 0.01) line... ...
分类:
其他好文 时间:
2018-09-04 13:58:28
阅读次数:
185
# 导入pyplot模块 import matplotlib.pyplot as plt # 初始化figure fig = plt.figure() # 创建数据 x = [1, 2, 3, 4, 5, 6, 7] y = [1, 3, 4, 2, 5, 8, 6] # 接着,我们来绘制大图。首先... ...
分类:
其他好文 时间:
2018-09-04 13:46:33
阅读次数:
158
PSR规范 psr规范 引言: PSR 是 PHP Standard Recommendations 的简写,由 PHP FIG 组织制定的 PHP 规范,是 PHP 开发的实践标准。这些规范的目的是:通过框架作者或者框架的代表之间讨论,以最低程度的限制,制定一个协作标准,各个框架遵循统一的编码规范 ...
分类:
其他好文 时间:
2018-08-20 14:32:29
阅读次数:
164
author:pprp Matplotlib数据可视化 [TOC] 安装 conda install matplotlib sudo apt get install python matplotlib 架构 1. scripting 2. Artist 3. backend Backend层 Fig ...
分类:
其他好文 时间:
2018-06-02 21:29:01
阅读次数:
653
十分钟快速入门Matplotlib 函数式绘图 这个库主要有两种绘图方式,一种是像这样的类matlab的函数式绘图方法。 对数式绘图 还有一种是基于对象API的绘图方式。 其实上面那个对象绘图我们已经很明显看得出这里面自顶向下的从属关系了。比如说一个fig有多个axis,axes上才能对数据进行绘图 ...
分类:
其他好文 时间:
2018-05-26 17:49:58
阅读次数:
187
fig=plt.figure() fig.add_subplot(3,3,1)#3行3列 第一个图 n=128 X=np.random.normal(0,1,n) Y=np.random.normal(0,1,n) T=np.arctan2(Y,X)#T用来上色的 plt.axes([0.025,0... ...
分类:
其他好文 时间:
2018-05-24 15:16:33
阅读次数:
214
https://www.youtube.com/watch?v=oiNFCbD_4Tk <eos> end of section a common trick image to seq problem mistake might happen. look at the fig(1,0) could ...
分类:
其他好文 时间:
2018-04-28 23:53:09
阅读次数:
233
1.Docker社区开发了很多工具,用于对多个 docker 容器进行编配。编配的过程实际上就是管理运行在多个docker容器里面的应用,而这些docker容器可能运行在多个不同的宿主机上。 2.Docker Compose是一个比较简单的docker容器的编配工具,以前的名称叫Fig,由Orcha ...
分类:
其他好文 时间:
2018-04-14 11:19:58
阅读次数:
176