Skip to content

Instantly share code, notes, and snippets.

@minjejeon
Last active September 17, 2016 14:06
Show Gist options
  • Select an option

  • Save minjejeon/4894612bc8e9c5e4d674cd623846ba2b to your computer and use it in GitHub Desktop.

Select an option

Save minjejeon/4894612bc8e9c5e4d674cd623846ba2b to your computer and use it in GitHub Desktop.
matplotlib 한글, inline svg 출력 세팅
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"import numpy as np\n",
"import pandas as pd"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"%matplotlib inline\n",
"%config InlineBackend.figure_format = 'svg'\n",
"\n",
"import matplotlib\n",
"import matplotlib.pyplot as plt\n",
"import seaborn as sns\n",
"matplotlib.rcParams['axes.unicode_minus'] = False\n",
"matplotlib.rc('font', family='Malgun Gothic')"
]
}
],
"metadata": {
"anaconda-cloud": {},
"kernelspec": {
"display_name": "Python [conda root]",
"language": "python",
"name": "conda-root-py"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.5.2"
}
},
"nbformat": 4,
"nbformat_minor": 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment