• Stars
    star
    125
  • Rank 286,335 (Top 6 %)
  • Language
    JavaScript
  • Created about 4 years ago
  • Updated about 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Insert Seaborn code in JupyterBotebook via snippets_menu for quick and easy data visualization. 在JupyterBotebook中通过snippets_menu插入Seaborn代码,快速方便进行数据可视化。

JupyterBotebook_snippets_menu_Seaborn

介绍

1

在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文件。

演示

2

3

4

感谢

感谢ApacheCN对文档的翻译!

5

欢迎大家关注我的公众号:沙克芬 SharkFin

网站:sharkfin.top

语雀:沙克芬——全学科网站导航

知识星球:沙克芬_稀有优质资源分享


JupyterBotebook_snippets_menu_Seaborn

Introduction

1

Quickly and easily visualize data in JupyterBotebook by inserting Seaborn code through the snippets menu.

The snippets menu is a convenient plug-in for inserting frequently used codes into JupyterBotebook. Click it https://jupyter-contrib-nbextensions.readthedocs.io/en/latest/nbextensions/snippets_menu/readme.html

Refer to ApacheCN's seaborn 0.9 Chinese documentation. Click it https://seaborn.apachecn.org/ It basically includes all Seaborn graphs, common parameters and parameter descriptions.

Note: the parameter specification is written in English, but it is easy to understand. If you don't understand, please refer to the document.

Use

Copy the downloadedmatplotlib.jsfile to path D:\Anaconda3\share\jupyter\nbextensions\snippets_menu\snippets_submenus_pythonand overwrite the original file. Your path may be a little different.

The original matplotlib.js is used to insert common matplotlib code, which is not enough, so I modified it. You can make a backup copy of the original matplotlib.js file.

Examples

2

3

4

Thanks

Thanks to ApacheCN for translating the document!