Skip to content

Instantly share code, notes, and snippets.

@shnya
Created November 13, 2016 05:53
Show Gist options
  • Save shnya/67e9199e775b612ed7791491b8702872 to your computer and use it in GitHub Desktop.
Save shnya/67e9199e775b612ed7791491b8702872 to your computer and use it in GitHub Desktop.
jupyter notebook 初期設定
import matplotlib
import matplotlib.pyplot as plt
matplotlib.rc('font', family='MS Gothic')
%matplotlib inline
plt.plot([1,2,3,4])
plt.title(u'日本語')
plt.show()
# 利用可能なフォント一覧
print "\n".join(fm.findSystemFonts())
@shnya
Copy link
Author

shnya commented Nov 13, 2016

jupyter-notebookのインストール

$ brew install pyenv
$ pyenv install anaconda2-4.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment