So I'm used to doing development in the IPython shell where I'll initialize a plot, and then add stuff to it before plotting, like:
In : fig = plt.figure() In : ax = fig.add_subplot(111) In : x = np.linspace(0,10,100); y = np.sin(x) In : ax.plot(x, y) Out: [<matplotlib.lines.Line2D at 0x11b6af6a0>] In : plt.show()
where the plot won't appear until the last line. However, after I updated my Anaconda install, the plot will appear immediately on initialization with
fig = plt.figure() and I won't be able to write to it after that.
Any ideas what's going on?
- macOS 10.12.6
- Python 3.7.3
- conda 4.7.10
- IPython 7.6.1