I just upgraded to IPython version 3.0 and turned off formatting for maritime transport. Here is sample code that replicates the problem
import numpy as np import matplotlib as mpl import matplotlib.pyplot as plt import seaborn as sns %matplotlib inline data = np.random.randn(100) fig,ax = plt.subplots(figsize = (11,8.5)) ax.plot(data)
This code works fine in IPython Notebook V2.4.1 (see http://nbviewer.ipython.org/gist/anonymous/71733c24a68ee464ca40 ), but in IPython Notebook v3.0 the axes become invisible (see http: //nbviewer.ipython .org / gist / anonymous / 7525146b07709206908c ).
Oddly enough, in V3, when I switch the import order of a marine vessel and the matplotlib built-in magic, the graph usually displays the first time it starts, and then, if I start again, the axes and grid lines disappear. Thus, it seems that this is due to the fact that the built-in magic disables the properties of the ship.
Any workarounds, except that I did not reprogram my import after the first time?
python matplotlib ipython ipython-notebook seaborn
ollerend
source share