Matplotlib: Difference between revisions

imported>Jesstess
imported>Jesstess
Read about how to generate random integers on http://docs.python.org/library/random.html#random.randint.
 
Then, instead of hard-coding x values and y values in <code>basic_plot.py</code>, generate a list of random y values and plot them.
 
An example plot using random y values might look like this:
Anonymous user