You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Figures not showing in interactive mode with macosx backend #6838
Matplotlib 1.5.1, Python 3.5.2, ipython 5.0.0, OS X El Capitan; Python3 installed with Homebrew, matplotlib through Pip. Empty matplotlibrc file, except for backend : macosx
When creating a figure in non-interactive mode in ipython, matplotlib behaves as expected:
import matplotlib.pylab as pl
pl.ioff()
pl.figure()
pl.show()
Gives me a nice on-screen figure. When I do the same in interactive mode (change ioff() to ion()) I get no on-screen figure, nothing. Exact the same happens when I use pl.ioff() combined with pl.show(block=False), i.e. I again get no on-screen figure.
Ah, with %matplotlib it also works with ipython 5.0.0. I was pointed to this: ipython/ipython#9811 and #6734 from StackOverflow, so it seems to be a known problem.
Activity
bartvstratum commentedon Jul 26, 2016
Seems to be related to ipython 5.0.0; I downgraded it to 4.2 and now everything works again as expected
afvincent commentedon Jul 26, 2016
Do you use the magic
%matplotlibin IPython (or launch it withipython --matplotlibor similar)?bartvstratum commentedon Jul 26, 2016
No, I simply launch
ipythonand run the exact code shown abovebartvstratum commentedon Jul 26, 2016
Ah, with
%matplotlibit also works with ipython 5.0.0. I was pointed to this: ipython/ipython#9811 and #6734 from StackOverflow, so it seems to be a known problem.tacaswell commentedon Jul 28, 2016
Closing as not a bug.