tkf / emacs-ipython-notebook

IPython notebook client in Emacs
tkf.github.com/emacs-ipython-notebook/
GNU General Public License v3.0
548 stars 51 forks source link

No axes in inline pyplots #198

Open falematte opened 6 years ago

falematte commented 6 years ago

Do you have any idea why inline plots are working fine but I get no axis? If I open the notebook in my browser all the images have the axes...

millejoh commented 6 years ago

When you get time you should create an issue over at millejoh/emacs-ipython-notebook. tkf is no longer maintaining ein.

That said - could you share the python code you are using to generate the plot?

falematte commented 6 years ago

ok! Here is the code

%matplotlib inline
import matplotlib.pyplot as plt
import numpy as np
n = np.arange(0, 20, 1)
delta=0.01
t = 0.025
plt.plot(n,(1+t)**n + delta*(((t+1)**n-1)/t),'b--',n,(1+t)**n, 'r--')
plt.show()