I have looked at this question and also this one. It looks like for me, matplotlib.pyplot.show() shows a figure from python, but not from jupyter console.
matplotlib.matplotlib_fname()
returns the same matplotlibrc file location for both.
However, when I try to find the backend being used with matplotlib.rcParams['backend']
jupyter console tells me - 'module://ipykernel.pylab.backend_inline'
, regardless of which backend I have modified the matplotlibrc file to use.
Python on the other hand, correctly shows the backend I'm using; currently 'TkAgg'.
I installed matplotlib using python -mpip install -U matplotlib
.
I'm using the following versions:
- Windows 10
- Jupyter console 5.2.0
- Python 2.7.14
- IPython 5.5.0
I can make do with using python, but it would be nice to figure this out for jupyter console as well.