[Eric] text.usetex

David Arnold dwarnold45 at suddenlink.net
Sat Feb 6 21:38:11 GMT 2010


Hi,

I'm trying this:

import matplotlib as mpl
import matplotlib.pyplot as plt
mpl.rcParams['text.usetex']=True
import numpy as np

x=np.arange(0, 5, 0.01)
y=[np.sin(2*np.pi*xx)*np.exp(-xx) for xx in x]

plt.plot(x, y)

plt.show()

Running in Eric4 a popup asks me to select a fork branch to follow. I don't understand this.

However, running the file from the terminal works just fine.

D.


More information about the Eric mailing list