[Matplotlib-users] How to specify size in matplotlib.pyplot.figure(...)?

2009-02-27 Thread lionel keene
Hello all, I'd like to create a "matplotlib.pyplot.figure(...)" object and specify the size while I'm at it. I see this argument list from the matplotlib's documentation: pyplot.figure(num=None, figsize=(8, 6), dpi=80, facecolor='w', edgecolor='k') The on-screen size is being computed using inche

[Matplotlib-users] Help with simply plotting 2d array, please

2009-02-25 Thread lionel keene
Hello all, I've been trying for days but I can't seem to get the result I'm looking for. I have a 2d array of type "numpy.ndarray" which I'd like to plot as a simple color map. I'd like to plot it in the upper-lefthand corner of the client area in a wxPython frame. The plotting needs to be a very