摘要: # coding=utf-8from matplotlib import pyplot as pltfrom matplotlib import font_managera=[131, 98, 125, 131, 124, 139, 131, 117, 128, 108, 135, 138, 131, 102, 107, 114, 119, 128, 121, 142, 127, 130, ... 阅读全文
posted @ 2019-01-06 13:22 佳佳牛 阅读(320) 评论(0) 推荐(1) 编辑
摘要: 与绘制直线图的唯一区别:plt.scatter# coding=utf-8from matplotlib import pyplot as pltfrom matplotlib import font_managermy_font = font_manager.FontProperties(fname="/System/Library/Fonts/Hiragino Sans GB.ttc")y_3... 阅读全文
posted @ 2019-01-06 13:21 佳佳牛 阅读(216) 评论(0) 推荐(0) 编辑
摘要: plt.bar()# coding=utf-8from matplotlib import pyplot as pltfrom matplotlib import font_managermy_font = font_manager.FontProperties(fname="/System/Library/Fonts/Hiragino Sans GB.ttc")a = ["战狼2","速度与激情... 阅读全文
posted @ 2019-01-06 13:21 佳佳牛 阅读(530) 评论(0) 推荐(0) 编辑
摘要: from matplotlib import pyplot as plt#设置图形大小plt.figure(figsize=(20,8),dpi=80)plt.plot(x,y,color="cyan",linestyle="",linewidth="",alpha=0.4,label="")#设置网格plt.grid(alpha="",linestyle="")#设置图例plt.legend(l... 阅读全文
posted @ 2019-01-06 13:19 佳佳牛 阅读(226) 评论(0) 推荐(0) 编辑
摘要: layout: post title: 七牛云图床存储+Alfread工作流+使用QSHELL 来源:http://www.cnblogs.com/cmi sh love/p/8901620.html 七牛云图床存储+Alfread工作流+使用QSHELL 使用markdown最头疼的问题就是贴图问 阅读全文
posted @ 2018-04-21 15:24 佳佳牛 阅读(680) 评论(0) 推荐(0) 编辑
摘要: [toc] 1、model层 1.1、@Required @Required注解检查 但他只检查属性是否已经设置而不会测试属性是否非空。@Required注解适用于bean属性的setter方法并且它指示,受影响的bean属性必须在配置时被填充在XML配置文件中,否则容器将抛出BeanInitial 阅读全文
posted @ 2017-08-01 16:01 佳佳牛 阅读(398) 评论(0) 推荐(0) 编辑
摘要: Hadoop—MapReduce计算气象温度 1 运行环境说明 1.1 硬软件环境 主机操作系统:Mac OS 64 bit ,8G内存 虚拟软件:Parallers Desktop12 虚拟机操作系统:CentOS 64位,单核,512内存 JDK:java version "1.7.0_45" 阅读全文
posted @ 2017-04-24 20:52 佳佳牛 阅读(2650) 评论(0) 推荐(0) 编辑
摘要: Hadoop1.X集群完全分布式模式环境部署 1 Hadoop简介 Hadoop是Apache软件基金会旗下的一个开源分布式计算平台。以Hadoop分布式文件系统(HDFS,Hadoop Distributed Filesystem)和MapReduce(Google MapReduce的开源实现) 阅读全文
posted @ 2017-04-20 09:56 佳佳牛 阅读(324) 评论(0) 推荐(0) 编辑
摘要: Hadoop2.x 集群搭建 一些重复的细节参考Hadoop1.X集群完全分布式模式环境部署 1 HADOOP 集群搭建 1.1 集群简介 HADOOP 集群具体来说包含两个集群:HDFS 集群和YARN集群,两者逻辑上分离,但物理上常在一起. :负责海量数据的存储,集群中的角色主要有 / :负责海 阅读全文
posted @ 2017-04-19 21:40 佳佳牛 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 前言 有时候给root用户不太方便,新建一个用于并赋予权限这个做法相对好些 创建新用户 创建一个用户名为:cmj 为这个用户初始化密码,linux会判断密码复杂度,不过可以强行忽略: 授权 个人用户的权限只可以在本home下有完整权限,其他目录要看别人授权。而经常需要root用户的权限,这时候sud 阅读全文
posted @ 2017-04-09 08:11 佳佳牛 阅读(6929) 评论(0) 推荐(0) 编辑