Emacsのpython環境で定義元へジャンプ
M-.でできるのか・・・
pip install -e .[testing]
、この[]は何だろうかと思って調べました。
pip(setuptools)のsyntaxということなので、このリンクにあるように、"hoge[moge]"とクオテーションで囲ったほうがよい。
単純に/etc/network/interfaces
を設定するだけではダメ。Desktopで使われているネットワーク関連のサービス停止する必要がある。18.04でも/etc/network/interfacesで設定できる(/etc/netplan/01-network-manager-all.yaml
を消したから?)。
sudo systemctl stop NetworkManager.service sudo systemctl disable NetworkManager.service sudo vi /etc/network/interfaces
markerの周りに四角い枠ができるのを無くしたいができない。
#!/usr/bin/env python import numpy as np import matplotlib import matplotlib.pyplot as plt matplotlib.rcParams['pdf.fonttype'] = 42 matplotlib.rcParams['ps.fonttype'] = 42 n = 20 x = np.random.rand(n) y = np.random.rand(n) fig = plt.figure() plt.plot(x, y, color='black', marker='.', markersize=10, fillstyle='full', linestyle='None', markeredgecolor='red', markeredgewidth=0.0) fig.savefig("plot.pdf")
sudo screen -D -r
で再接続できるらしい(ubuntu14.04 -> 16.04)。
Thread-safe global variables in C