Skip to content

Instantly share code, notes, and snippets.

@caprest
Last active September 7, 2018 13:00
Show Gist options
  • Save caprest/8288f759077fab84d0117a0c9f3417fc to your computer and use it in GitHub Desktop.
Save caprest/8288f759077fab84d0117a0c9f3417fc to your computer and use it in GitHub Desktop.
環境構築メモ

tex周り

ubuntu用

jupyter notebook

auto import

.ipython/profile_default/startup/auto_import.ipy に書く

octave

matplotlib

日本語を使えるようにする

$HOME/.matplotlib/.matplotlibrcとかにある matplotlib.matplotlib_fname()で見つけられる. 使えるfontは

import matplotlib.font_manager as fm
fonts = fm.findSystemFonts()
[(f, fm.FontProperties(fname=f).get_name()) for f in fonts]

とかで見つけられる. font.sans-serif: hogeみたいな感じで設定する.キャッシュクリアも必要.

capsをctrlに割り当てる

Windows用

http://www.shin-tan.com/swapKey

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