For solving this, you can use different back-end:
import matplotlib
matplotlib.use('TkAgg')
import matplotlib.pyplot as plt
Other GUI backends:
[Read More]
Fix tmux issue with conda
source Problem: When running a conda environment and opening tmux on macOS, a utility called path_helper is running again. Essentially, the shell is initialized twice which messes up the ${PATH} so that the wrong Python version shows up within tmux. Solution If using bash, edit /etc/profile and add one line....
[Read More]
Emacs as Python3 IDE in Mac
Install the following using your preferred method: pip3 install rope jedi importmagic autopep8 flake8 In Emacs: M-x package-install RET elpy RET M-x package-install RET exec-path-from-shell RET M-x package-install RET pyenv RET M-x package-install RET anaconda-mode RET Edit .emacs as following: (elpy-enable) (when (memq window-system '(mac ns x)) (exec-path-from-shell-initialize)) (add-hook 'python-mode-hook...
[Read More]
Mosh
Mosh is similar to SSH, remote terminal application but it allows roaming, and supports intermittent connectivity. Its usage is similar to SSH. It has to be installed both on the server and client.
[Read More]