[Matplotlib-devel] New to the list, MEPS, and plot serialization questions

vishal vishal.goundar at gmail.com
Tue May 3 02:01:29 EDT 2016


Hi Jay,

I am no way near to achieving this. Please help me. What am I doing wrong?
>>> import numpy as np
import matplotlib.pyplot as plt


x = np.linspace(0, 1)
y = np.sin(4 * np.pi * x) * np.exp(-5 * x)

plt.fill(x, y, 'r')
plt.grid(True)
plt.show()
SyntaxError: multiple statements found while compiling a single statement



--
View this message in context: http://matplotlib.1069221.n5.nabble.com/Matplotlib-devel-New-to-the-list-MEPS-and-plot-serialization-questions-tp47033p47048.html
Sent from the matplotlib - devel mailing list archive at Nabble.com.


More information about the Matplotlib-devel mailing list