原博文
2020-03-12 12:20 −
1. 绘制条形图
import numpy as np
from scipy import stats
import matplotlib.pyplot as plt
from sklearn.datasets import load_iris
iris_data = load_iris()
sam...
相关推荐
2019-12-05 16:35 −
matplotlib模块是python中一个强大的绘图模块
安装 pip install matplotlib
首先我们来画一个简单的图来感受它的神奇
import numpy as np
import matplotlib.pyplot as plt
import matpl...
2019-12-11 17:18 −
# 折线图 ![](https://img2018.cnblogs.com/blog/1750137/201912/1750137-20191211171553407-2001930304.png) ```python
import xlsxwriter # 创建一个excel
workbook = ...
2019-12-18 17:55 −
以代码一开头:
代码一:import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
plt.rcParams['font.sans-serif']=['SimHei'] #用来正常显示中文标签
plt.rcParam...
2019-12-20 17:19 −
Python高级应用程序设计任务要求
用Python实现一个面向主题的网络爬虫程序,并完成以下内容:(注:每人一题,主题内容自选,所有设计内容与源代码需提交到博客园平台)
一、主题式网络爬虫设计方案(15分)1.主题式网络爬虫名称
爬取猫眼电影top100的榜单信息2.主题式网络爬虫爬取的内容与数据特...
0
120
2019-12-21 09:25 −
Python高级应用程序设计任务要求
用Python实现一个面向主题的网络爬虫程序,并完成以下内容:(注:每人一题,主题内容自选,所有设计内容与源代码需提交到博客园平台)
一、主题式网络爬虫设计方案(15分)1.主题式网络爬虫名称
携程旅游页面景点信息爬取和分析
2.主题式网络爬虫爬取的内容与数据特征...
0
126
2019-11-29 13:01 −
https://github.com/chenjiandongx/cutecharts
Python 手绘风格可视化神包:cutecharts。
和 Matplotlib 、pyecharts 等常见的图表不同,使用这个包可以生成下面这种看起来像手绘的各种图表,在一些场景下使用效果可能会更好。
...
0
405
2019-12-22 06:56 −
import turtle #导入turtle模块 turtle.width(10) #笔的宽度 turtle.color("blue") #笔的颜色 turtle.circle(50) #画圆 turtle.penup() #抬笔,这样,路径就不会画出来 turtle.goto(120,0) #去...
2019-12-23 10:22 −
图像处理
图像的读取、显示、保存、信息
像素操作
图像的缩放
插值算法介绍
图片的裁剪
绘图函数
图像的算数运算
图像的平移
图像镜像翻转
旋转
图像色彩转换 图像颜色反转
图像马赛克效果 ...
0
584
2019-12-20 08:05 −
用Python实现一个面向主题的网络爬虫程序,并完成以下内容:
(注:每人一题,主题内容自选,所有设计内容与源代码需提交到博客园平台)
一、主题式网络爬虫设计方案(15分)
1.主题式网络爬虫名称
爬取智联招聘网站的厦门...
0
149
2019-12-06 20:15 −
import numpy as np import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D fig = plt.figure() ax = Axes3D(fig) #X Y value X = np.aran...