原博文
2020-05-06 21:32 −
import numpy as np
import matplotlib.pyplot as plt #标签
labels = np.array(['第一周','第二周','第三周','第四周','第五周','第六周'])
#数据个数
dataLenth = 6
#数据
data = np.ar...
相关推荐
2019-12-02 15:32 −
Python基本名词||library、package、module、function、class之间的区别 https://blog.csdn.net/The_Time_Runner/article/details/84455517
Python3教程 https://www....
2019-12-11 15:11 −
分析项目的deploy.py实例来学习。
1. OptionParser
片段:
def init_arg_parser(): parser = OptionParser("operation with shark") parser.ad...
2019-12-21 17:59 −
from PIL import Image,ImageDraw#生成图片:img = Image.new("RGB",(1000,1000),(255,255,255))#有了画笔:draw = ImageDraw.Draw(img,"RGB")#添加颜色:# draw.point([100,100...
2019-12-09 10:43 −
public class ImageMes { /// /// 生成缩略图 /// /// 源图路径
2019-12-18 20:05 −
public static Bitmap GetLink(string Wordstr) { #region older //arial //StrForImg sf = new StrForImg(); ...
2019-12-18 20:05 −
public static Bitmap GetLink(string Wordstr) { #region older //arial //StrForImg sf = new StrForImg(); ...
0
133
2019-12-11 18:08 −
y=2x+3 import matplotlib.pyplot as plt#约定俗成的写法plt #首先定义两个函数(正弦&余弦) import numpy as np #plt.figure(num='正余弦函数图', figsize=(10, 6), dpi=120, faceco...
2019-12-25 13:52 −
注:当前框架对应.net core 2.1中的代码 一、使用剪切路径,圆形剪切 Bitmap bitmap = new Bitmap(filename); Image photo = Image.FromFile(photofile); //绘制图片 Graphics g = Graphics.F...
2019-12-04 16:41 −
熟悉代码调用流程,可以在调试结束前显示代码图,操作位置:
比如开源的caffe_ocr的代码图:
...