https://github.com/SharkFin-top/JupyterNotebook_snippets_menu_Seaborn  欢迎大家来Star

JupyterBotebook_snippets_menu_Seaborn

介绍

https://cdn.nlark.com/yuque/0/2020/png/401331/1605712420711-a7723798-19e2-48fc-9631-f6845b8c4e97.png

在JupyterBotebook中通过snippets menu插入Seaborn代码,快速方便进行数据可视化。

snippets menu是一个在JupyterBotebook中插入常用代码的插件,方便快捷,详见https://jupyter-contrib-nbextensions.readthedocs.io/en/latest/nbextensions/snippets_menu/readme.html

参考ApacheCN的seaborn 0.9中文文档https://seaborn.apachecn.org/进行编写,基本包括所有的seaborn图形以及常用参数及参数说明。

注:参数说明是用英文写的,但是很好理解。有不明白的地方,对照文档看一下即可。

使用

将下载的matplotlib.js文件复制到路径D:\\Anaconda3\\share\\jupyter\\nbextensions\\snippets_menu\\snippets_submenus_python下覆盖原文件即可。你的路径可能会有些许差异。

原来的matplotlib.js是用来插入matplotlib常用代码,比较少,我就修改了它。可以备份一份原始的matplotlib.js文件。

演示

https://cdn.nlark.com/yuque/0/2020/gif/401331/1605712443949-dbd78bb1-fc03-4e6d-91b5-4a6c735bea05.gif

https://cdn.nlark.com/yuque/0/2020/gif/401331/1605712458304-e00d5923-a5e4-4ad5-9ec1-f504f3567e6c.gif

https://cdn.nlark.com/yuque/0/2020/gif/401331/1605712470514-32bd7279-a956-4512-a3d2-aa05e11ccef1.gif

感谢

感谢ApacheCN对文档的翻译!