![9d5d21a332850055d314ad7a1bab8a31.png](https://i-blog.csdnimg.cn/blog_migrate/ef7508382ec949a64dc40d5538f701ee.jpeg)
~~~点一下救救孩子吧~~要400阅读量~~~我太难了
❝
本文汇总之前所有的 「Python可视化保姆级笔记43篇」,加上简单介绍,方便查询。
为什么我会写这么多篇的Python可视化笔记,起因是年初为了给SCI绘图,尝试了一下Python的Matplotlib,感觉很好用,然后就将 「Matplotlib、Seaborn、Pygal、Plotnine」系统梳理了一遍。
详细请点原文,精进请去官网。
❞
往期精彩
「NGS基础」笔记合集~~「更新ing」 [Python」数据科学基础笔记27篇合集 「Perl」基础与生物信息学笔记19篇合集 「R基础及可视化」笔记25篇全集
本文目录
❝ Python可视化43|plotnine≈Python版ggplot2
Python可视化|Matplotlib40-LaTeX in Matplotlib和python
Python可视化|Matplotlib39-Matplotlib 1.4W+字教程(珍藏版)
Python可视化|Matplotlib38-Matplotlib官方Cheat sheet(上篇)
Python可视化|pygal37-pygal用法及示例
Python可视化35|matplotlib&seaborn-一些有用的图
Python可视化34|matplotlib-多子图绘制(为所欲为版)
Python可视化33|matplotlib-rcParams及绘图风格(style)设置详解
Python可视化32|matplotlib-断裂坐标轴(broken_axis)|图例(legend)详解
Python可视化31|matplotlib-图添加文本(text)及注释(annotate)
Python可视化30|matplotlib-辅助线(axhline|vlines|axvspa|axhspan)
Python可视化29|matplotlib-饼图(pie)
Python可视化28|matplotlib绘制韦恩图(2-6组数据)
Python可视化27|seaborn绘制线型回归图曲线
Python可视化26|seaborn绘制分面图(seaborn.FacetGrid)
Python可视化25|seaborn绘制矩阵图
Python可视化24|seaborn绘制多变量分布图(jointplot|JointGrid)
Python可视化23|seaborn.distplot单变量分布图(直方图|核密度图)
Python可视化22|Seaborn.catplot(下)-boxenplot|barplot|countplot图
Python可视化21|Seaborn.catplot(上)-小提琴图等四类图
Python可视化20|Seaborn散点图&&折线图
Python可视化19|seborn图形外观设置
Python可视化18|seborn-seaborn调色盘(六)
Python可视化17seborn-箱图boxplot
食色性也-颜色小抄免费大放送(二)
Python可视化matplotlib&seborn16-相关性heatmap
食色性也!颜色小抄免费大放送(一)
Python可视化matplotlib&seborn15-聚类热图clustermap
Python可视化matplotlib&seborn14-热图heatmap
Python可视化|matplotlib13-直方图(histogram)详解
Python可视化|matplotlib12-垂直|水平|堆积条形图详解
Python可视化|matplotlib11-绘制折线图matplotlib.pyplot.plot
Python可视化|matplotlib10-绘制散点图scatter
Python|R可视化|09-提取图片颜色绘图(五-颜色使用完结篇)
Python可视化|08-Palettable库中颜色条Colormap(四)
Python可视化|matplotlib07-自带颜色条Colormap(三)
Python可视化|matplotlib06-外部单颜色(二)
Python可视化|matplotlib05-内置单颜色(一)
Python可视化|matplotlib04-绘图风格(plt.style)大全
Python可视化|matplotlib03-一文掌握marker和linestyle使用
python可视化|matplotlib02-matplotlib.pyplot坐标轴|刻度值|刻度|标题设置
python可视化|matplotlib01-绘图方式|图形结构
❞
各篇简介
Python可视化43|「plotnine≈Python版ggplot2」
- plotnine是图层图形语法(The Grammar of Graphics)在python中的实现,是ggplot2的python版,使用方法和ggplot2几乎一样。
![2db4fcd50bdc614639e7b864a7612e90.png](https://i-blog.csdnimg.cn/blog_migrate/b3abb1a7fec17075b0d48a698abcce43.png)
- ggplot2的强大可参考:R基础及可视化教程全集
Python可视化|Matplotlib40-「LaTeX」 in Matplotlib和python
- 多种方式实现在图形中添加latex字符、数学公式等。
![ae2219ecb0363b9ebb5e4dfcc01d44a8.png](https://i-blog.csdnimg.cn/blog_migrate/968c63fec93a75378fd22516dd421361.jpeg)
![e6a182ca90213ec30d4895b92b6175f3.png](https://i-blog.csdnimg.cn/blog_migrate/9c6b2a7bc8f8c0cf48c0d2328713adda.png)
Python可视化|Matplotlib39-Matplotlib 1.4W+字教程(珍藏版)
Python可视化|Matplotlib38-Matplotlib官方Cheat sheet(上篇)
- 快速掌握常见图绘制,没啥好说的精华中的精华。
![55074ad1c33958a18004e6dc13352eb9.png](https://i-blog.csdnimg.cn/blog_migrate/655d1fbd1c19704b31512cdc3b647eaf.png)
![466624b79ff4d2d2933d61d73dc095cb.png](https://i-blog.csdnimg.cn/blog_migrate/a667bdc7ae15be2dfdbd9753ea7a4452.jpeg)
Python可视化|pygal37-pygal用法及示例
- python的另一个可视化库pygal,专注于SVG图,擅长交互。
![cfb867170449884441356bda6256572a.png](https://i-blog.csdnimg.cn/blog_migrate/9ee8b0652134eb8cce5d777c5ef5701f.jpeg)
![a2b411a053eda608845bfe84dde7c328.png](https://i-blog.csdnimg.cn/blog_migrate/1a44434a07bec7d8cb97054431c703bc.png)
![1d38e280f6379532ce34b5c52ddd0095.png](https://i-blog.csdnimg.cn/blog_migrate/7a3a9d1180063bd4168db94c7522e1a7.png)
![7fc02f9fda630f52ae8a408505d93b9b.png](https://i-blog.csdnimg.cn/blog_migrate/372914da4bafeca21625b0b947a30759.png)
Python可视化35|matplotlib&seaborn-一些有用的图
- 常见50个图形基于Matplotlib和Seaborn实现【含代码】,归为7大类。
![e1e82d9ada57d2a57045075cda7a1eff.png](https://i-blog.csdnimg.cn/blog_migrate/ea4aa0539538f62e1f1e03f7d1fdbc3f.jpeg)
Python可视化34|matplotlib-多子图绘制(为所欲为版)
- 随心所欲的拼图
![b72878d58a0ac5f2ef000a2c41ed8c2d.png](https://i-blog.csdnimg.cn/blog_migrate/db6f5af91fc96f80f9fe90d1411182c1.png)
Python可视化33|matplotlib-rcParams及绘图风格(style)设置详解
- 灵活使用「绘图风格(style)「及」rcParams」设置
![26a38a4cb1e8516a11e252425c38353d.png](https://i-blog.csdnimg.cn/blog_migrate/5c9fee1cc5fd399c7b4743c5b41f4857.jpeg)
Python可视化32|matplotlib-断裂坐标轴(broken_axis)|图例(legend)详解
- 绘制坐标轴断裂图
![847053b97e090d0f974b25a950d3fdca.png](https://i-blog.csdnimg.cn/blog_migrate/593ca2bb4570c001116685debb657b51.png)
Python可视化31|matplotlib-图添加文本(text)及注释(annotate)
- 自由往一张图添加「注释文字、指引箭头。」
![81f666fa80b991c6ab7c94438fc0e2e2.png](https://i-blog.csdnimg.cn/blog_migrate/ebdd69b3ad7c4f7953d25b87eaa48c23.png)
Python可视化30|matplotlib-辅助线(axhline|vlines|axvspa|axhspan)
- 往图形添加辅助线。
![1f7e142fef75e00e1f86be94ab09ab6d.png](https://i-blog.csdnimg.cn/blog_migrate/8189ce9f65d29200f283aacd639c088d.png)
![012a360f3981980d689a4628d82023b7.png](https://i-blog.csdnimg.cn/blog_migrate/077ae7953f2354fc4de196cc69f662ee.png)
Python可视化29|matplotlib-饼图(pie)
![65cd9f655c6e82ceda4eb0c3fa2d57ff.png](https://i-blog.csdnimg.cn/blog_migrate/61bde02037469c086c4e6541dbd20be1.jpeg)
![1109062df0d997b625d143c5a9651ab4.png](https://i-blog.csdnimg.cn/blog_migrate/8f106d42110402bf9d22b1609dcc59a6.png)
Python可视化28|matplotlib绘制韦恩图(2-6组数据)
![5dc86a00a83418171e8d87f339c43b77.png](https://i-blog.csdnimg.cn/blog_migrate/e2582e66fefa3360953f57d309a9db5c.jpeg)
![2dbe7a784d5d1437e48ded7f92aa7700.png](https://i-blog.csdnimg.cn/blog_migrate/d5f6206fca875972b4cfb0abdb047d7a.png)
Python可视化27|seaborn绘制线型回归图曲线
![b9c313665a0343eb7e97ee9305976e10.png](https://i-blog.csdnimg.cn/blog_migrate/d262bc081a27b0eb52f981dea4bcb78f.jpeg)
![6d80240c551e6188519d917553fa9cad.png](https://i-blog.csdnimg.cn/blog_migrate/225b41d3eeef6a46826310d51e298c5a.png)
Python可视化26|seaborn绘制分面图(seaborn.FacetGrid)
![bc241dd4230c3fe4b7b1f3ac4848041f.png](https://i-blog.csdnimg.cn/blog_migrate/481b126a4f60efda71c7d0355434a3ab.jpeg)
Python可视化25|seaborn绘制矩阵图
![2a560b17decbb7b7c2183637a2f6bc1c.png](https://i-blog.csdnimg.cn/blog_migrate/ab2bcea5ca2e1587983a399524bd8c5d.jpeg)
![3a81f79831d42e71acce1e5f7e426ccd.png](https://i-blog.csdnimg.cn/blog_migrate/2958599495db4bda5206ddb6b80e53e1.jpeg)
Python可视化24|seaborn绘制多变量分布图(jointplot|JointGrid)
![4699372e514ce95dd34665b1c5a53159.png](https://i-blog.csdnimg.cn/blog_migrate/9c6dc9cfe4a8120c11c4413ed1e940e9.jpeg)
Python可视化23|seaborn.distplot单变量分布图(直方图|核密度图)
![68d1662a0a2ff49efdd9f2d5999c6bd7.png](https://i-blog.csdnimg.cn/blog_migrate/cd9d90053cd586f3532c3237fda34bff.png)
Python可视化22|Seaborn.catplot(下)-boxenplot|barplot|countplot图
![59dfd537c04b814ec1447cb3810143e0.png](https://i-blog.csdnimg.cn/blog_migrate/ca81c17ffa3d87950241c949c6c492d8.png)
![5d7e2df1541789a4f62578e031571679.png](https://i-blog.csdnimg.cn/blog_migrate/f4b5e797d576241673cc190c9e143c4b.png)
![def1cda379bc13a9d73f77cef33a3beb.png](https://i-blog.csdnimg.cn/blog_migrate/4d8af10b8660866e5b387cab69fb1c6e.png)
Python可视化21|Seaborn.catplot(上)-小提琴图等四类图
![4ce0d4de24303ef3c2b1bb9970e683af.png](https://i-blog.csdnimg.cn/blog_migrate/59751ed89a8b14a93910da2001931d01.png)
Python可视化20|Seaborn散点图&&折线图
![26333ee3eb5c9733f0bbfc0f41e1453b.png](https://i-blog.csdnimg.cn/blog_migrate/a2be49136ef9d091dd7cb4685ed6147a.png)
Python可视化19|seborn图形外观设置
- seaborn「图形外观、图形缩放」设置。
Python可视化18|seborn-seaborn调色盘(六)
- 系统介绍seaborn调色盘
![ea0c3e9fc642291baff503b9d0f26bfd.png](https://i-blog.csdnimg.cn/blog_migrate/c52a63bb4d98fcb6cd5bfaa628ee5bc1.jpeg)
![7465138d4416c54b0d6a0e0b1f9b86a9.png](https://i-blog.csdnimg.cn/blog_migrate/a2090026db2b6aed2c79138dfad12b0e.png)
![4ed62d420847389dc923e2f7cf7344a7.png](https://i-blog.csdnimg.cn/blog_migrate/cfb99e248577c24f7f770202dcdbbd56.png)
![79ad1cb383fd684c0c74af8d76ca01e2.png](https://i-blog.csdnimg.cn/blog_migrate/e2c1d786238a2e8d016fe446b8a89259.png)
食色性也-颜色小抄免费大放送(二)
食色性也!颜色小抄免费大放送(一) Python|R可视化|09-提取图片颜色绘图(五-颜色使用完结篇)
![c111654d336e665bcf44b00b3d3f7e74.png](https://i-blog.csdnimg.cn/blog_migrate/12f37016340ff121bfa5f386a6ae6ace.jpeg)
![a77b042004fb0289835b1fe7bea23bdf.png](https://i-blog.csdnimg.cn/blog_migrate/d0749093e56c8627c768613c6f34a625.jpeg)
![199eb21515442d7ca48f8dc78866aeac.png](https://i-blog.csdnimg.cn/blog_migrate/280522ba0f1823c5379d38dbad244556.jpeg)
![466b29af554a0b4856f816ebc088640b.png](https://i-blog.csdnimg.cn/blog_migrate/ad89494a97af6c28911c8f385be52cb4.jpeg)
Python可视化|08-Palettable库中颜色条Colormap(四)
- 专业python配色库。
![73ebef6e42eafd38c4015c2ec83eb083.png](https://i-blog.csdnimg.cn/blog_migrate/0b8b99a2be0f4101c0f52b3a440c93e0.png)
Python可视化|matplotlib07-自带颜色条Colormap(三)
![4e63eae06c877f2119b83f368e8a6169.png](https://i-blog.csdnimg.cn/blog_migrate/9fa5e1d08efa14829defb6c6d499d2f2.jpeg)
Python可视化|matplotlib06-外部单颜色(二)
![80182e1fda307538c23821ee1c05e058.png](https://i-blog.csdnimg.cn/blog_migrate/8198911f0415a3fb422579c4876e78ee.jpeg)
![9bfd8f1d36cd2f8087b30e94228e872f.png](https://i-blog.csdnimg.cn/blog_migrate/1c5bf49b31ba3cec508cb5c0ff739ad9.jpeg)
Python可视化|matplotlib05-内置单颜色(一)
![8527f9633466ff4901068c439ad11fc7.png](https://i-blog.csdnimg.cn/blog_migrate/6dd03fbed16fa0c2d0a357bba3117afa.png)
Python可视化17seborn-箱图boxplot
![52ca8ed3dc55639086944cdd67c27e6d.png](https://i-blog.csdnimg.cn/blog_migrate/986e116efbf3fc1aff8a26688345789f.png)
Python可视化matplotlib&seborn15-聚类热图clustermap
![06fed6d89d6516c3f75cc8ec12239a44.png](https://i-blog.csdnimg.cn/blog_migrate/786ab1b002b1e3ddf4c74db125af5bd2.png)
![80543acfe8be2e5f456b0d5dc0e162cd.png](https://i-blog.csdnimg.cn/blog_migrate/8e6d93bf95aad53d3aa74adf0ce7a8f9.jpeg)
Python可视化matplotlib&seborn16-相关性heatmap
![ae6dc06b6ae6c546f981f0a2adaae3eb.png](https://i-blog.csdnimg.cn/blog_migrate/d335dbe919e31db9541f1a18b4093c1f.png)
![aa6ddf58aa37859e6fa7a7ff83cebd51.png](https://i-blog.csdnimg.cn/blog_migrate/f3f5e8531877821b7bc1cd90cc49bb40.jpeg)
Python可视化matplotlib&seborn14-热图heatmap
![430700b9110656ef5b7e25fd702c4584.png](https://i-blog.csdnimg.cn/blog_migrate/8c9f60e6fc37c328a8571a485e757b5e.png)
![24aed85288e1b714be7e37efb25c0fad.png](https://i-blog.csdnimg.cn/blog_migrate/56d7f31a401a5c1f805fee3968a0a99c.jpeg)
Python可视化|matplotlib13-直方图(histogram)详解
![933bcfac1fcc3c461cd5723b0487d7f8.png](https://i-blog.csdnimg.cn/blog_migrate/566f26ff9293904617036d90b645e7e6.png)
Python可视化|matplotlib12-垂直|水平|堆积条形图详解
Python可视化|matplotlib11-绘制折线图matplotlib.pyplot.plot
Python可视化|matplotlib10-绘制散点图scatter
![1df1bbeacba9d8fae571b80e774d541f.png](https://i-blog.csdnimg.cn/blog_migrate/318452f326855dc36932c009f6a63092.jpeg)
Python可视化|matplotlib04-绘图风格(plt.style)大全
![95747bdaadd32be6c2260627e0c0d3b2.png](https://i-blog.csdnimg.cn/blog_migrate/00774243a4b91589ae494441373865c6.png)
Python可视化|matplotlib03-一文掌握marker和linestyle使用
![18dcefc16273b468929308031c801391.png](https://i-blog.csdnimg.cn/blog_migrate/8823d5f1e3c1a4595b965a30a97d56f4.jpeg)
![905c94c5eeecfb211e5847b1e920646c.png](https://i-blog.csdnimg.cn/blog_migrate/f1f72c19b22832e1d20675ec3a39728b.jpeg)
python可视化|matplotlib02-matplotlib.pyplot坐标轴|刻度值|刻度|标题设置
❝ 详细介绍matplotlib.pyplot绘图方式中坐标轴(axis),刻度值(trick label),刻度(tricks),子图标题(title),图标题(suptitle),坐标轴标题(xlabel,ylabel),网格线(grid)等参数的详细设置。
❞
python可视化|matplotlib01-绘图方式|图形结构
![9bd9581cfc1d0c663a9ece432291fa45.png](https://i-blog.csdnimg.cn/blog_migrate/a685edd94b45bf28292a226671dae657.png)
欢迎关注公众号:pythonic生物人