1 说明:
=====
1.1 HvPlot - 基于HoloViews的pandas、dask、streamz和xarray高级绘图API。
1.2 HvPlot就是一个python高级数据可视化图库。
1.3 其实就是基于boken的,一行代码搞定的数据可视化基本作图。
1.4 本次代码是基于微软编辑器vscode,源代码基于jupyter的;
1.5 顺带复习pandas的读取csv文件,更具有实际操作特性。
![dbd68bff8bc9c06161bf130d67c0d62c.png](https://i-blog.csdnimg.cn/blog_migrate/d4dbb7682bc1266f7ab8fd62d5506537.jpeg)
2 准备:
=====
2.1 官网:
https://www.cnpython.com/pypi/hvplothttps://github.com/holoviz/hvplot #数据来源这个包
2.2 环境:
华为笔记本电脑、深度deepin-linux操作系统、谷歌浏览器、python3.8和微软vscode编辑器。
2.3 安装:
pip install hvplot#本机安装sudo pip3.8 install hvplot#本机推荐国内源安装sudo pip3.8 install -i https://mirrors.aliyun.com/pypi/simple hvplot#本机附带安装sudo pip3.8 install intakesudo pip3.8 install -i https://mirrors.aliyun.com/pypi/simple intake
2.4 软连接:
2.4.1 报警:
WARNING: The script colorcet is installed in '/usr/local/python3.8/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. WARNING: The script hvplot is installed in '/usr/local/python3.8/bin' which is not on PATH. Consider adding this directory to PATH or, if you pr