Re: [Matplotlib-users] plt.show() - what does it do under the hood?

2011-08-29 Thread Benjamin Root
On Mon, Aug 29, 2011 at 10:26 PM, Trevor J Christensen < tre...@jcmanagement.net> wrote: > I have a number of questions, but I'll start with one. Consider the > following code: > > import matplotlib as mpl > import matplotlib.pyplot as plt > import numpy as np > x = np.arange(1, 6) > plt.plot(x,

[Matplotlib-users] plt.show() - what does it do under the hood?

2011-08-29 Thread Trevor J Christensen
I have a number of questions, but I'll start with one. Consider the following code: import matplotlib as mpl import matplotlib.pyplot as plt import numpy as np x = np.arange(1, 6) plt.plot(x, x*1.5) plt.show() s = raw_input('Enter anything to continue:') plt.show() print 'The end' Ques