Right now the default backend for matplotlib is 'module://ipykernel.pylab.backend_inline'
I want to switch that to TkAGG
. I edited the matplotlibrc
file in
~/anaconda2/lib/python2.7/site-packages/matplotlib/mpl-data/matplotlibrc/
to add
backend : TkAgg
and It did switch the backend
for the python but not in Jupyter
.
For now everytime I start a new notebook in Jupyter
, I have to do %matplotlib tk
, isnt there a nice way to make TkAGG
the default backend in Jupyter
?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…