일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- HDF5
- intel compiler
- jupyter
- h5py
- Windows
- datascience
- polyglot
- MAC
- mpi4py
- hyperref
- gfortran
- cython
- openmp
- Anaconda
- vi
- vim
- arXiver
- Visual Studio
- GSL
- tab space
- LaTeX
- virtual
- cygwin
- HFS+
- portforwarding
- conda
- python
- SSH
- Matplotlib
- c++
- Today
- Total
Astro Coke
[Python] inline backend 와 matplotlibrc 의 충돌 본문
The Jupyter/IPython split is confusing. Jupyter is the front end to kernels, of which IPython is the defacto Python kernel. You are trying to change something related to matplotlib and this only makes sense within the scope of the IPython kernel. Making a change to matplotlib in ~/.jupyter/jupyter_notebook_config.py would apply to all kernels which may not make sense (in the case of running a Ruby/R/Bash/etc. kernel which doesn't use matplotlib). Therefore, your c.InlineBackend.rcsetting needs to go in the settings for the IPython kernel.
Edit the file ~/.ipython/profile_default/ipython_kernel_config.py and add to the bottom: c.InlineBackend.rc = { }.
Since c.InlineBackend.rc specifies matplotlib config overrides, the blank dict tells the IPython kernel not to override any of your .matplotlibrc settings.
If the file doesn't exist, run ipython profile create to create it.
'Computer Setup' 카테고리의 다른 글
[Cygwin] Import User Path Variable in Windows when access with SSH (0) | 2019.04.04 |
---|---|
[Cygwin] Using Tex Live in Cygwin (0) | 2019.04.04 |
[Cython&openmp] omp.h file not found (0) | 2019.03.28 |
[Python] Vim: Fix python indentation Error (0) | 2019.03.28 |
[Python] Switching between python 2.x and 3.x (0) | 2019.03.28 |