[Matplotlib-users] Why would this happen?

2009-03-30 Thread Tyler B
My graph, which had been working just fine, randomly decided to stop filling the width of the x-axis:http://screencast.com/t/vr3AaXIq Here's the code I'm using (nothing fancy.. I took out all unnecessary formatting and it didn't help): fig = plt.figure(facecolor ='w', frameon=False) ax =

Re: [Matplotlib-users] Why would this happen?

2009-03-30 Thread John Hunter
On Mon, Mar 30, 2009 at 8:22 AM, Tyler B bosm...@gmail.com wrote: My graph, which had been working just fine, randomly decided to stop filling the width of the x-axis:http://screencast.com/t/vr3AaXIq Here's the code I'm using (nothing fancy.. I took out all unnecessary formatting and it

Re: [Matplotlib-users] histogram

2009-03-30 Thread Bala subramanian
Darren, But y axis goes scale is than one when i use normed=1. I am not getting why this happens. On Mon, Mar 30, 2009 at 5:39 PM, Darren Dale dsdal...@gmail.com wrote: On Mon, Mar 30, 2009 at 11:25 AM, Bala subramanian bala.biophys...@gmail.com wrote: Friends, I tried to plot a

Re: [Matplotlib-users] histogram

2009-03-30 Thread Roban Hultman Kramer
As Darren said, normed=1 means that the integral of the histogram is normalized to one, not the height. In other words, the total area under the histogram curve is set to one. Imagine a histogram with a single bin. If the width of the bin is less than one, the height must be greater than one in

Re: [Matplotlib-users] Basemap data installation

2009-03-30 Thread Jeff Whitaker
Michael Hearne wrote: I am experimenting with the Enthought Python Distribution (EPD) on MacOS 10.5, which includes BaseMap version 0.99.1. I have existing modules that use the 'full' resolution data. These modules are currently failing with the error message below. I have tried copying

Re: [Matplotlib-users] Basemap data installation

2009-03-30 Thread Michael Hearne
Jeff - Copying the rest of the files solved the problem. Thanks! --Mike Jeff Whitaker wrote: Michael Hearne wrote: I am experimenting with the Enthought Python Distribution (EPD) on MacOS 10.5, which includes BaseMap version 0.99.1. I have existing modules that use the 'full' resolution

Re: [Matplotlib-users] grab more points from a database when panning?

2009-03-30 Thread Ryan May
On Mon, Mar 30, 2009 at 1:34 PM, C M cmpyt...@gmail.com wrote: I've got the NavigationToolbar2 going nicely on my app (OO, embedded in wx, mpl 0.98.5), and was wondering how difficult it might be to change how the pan works, in the following way... Right now, when I show a plot, I am

[Matplotlib-users] padding when saving to a file

2009-03-30 Thread Ken Schutte
Is it possible to control (actually remove) the amount of white space padded to a figure when saving to a file? For example, the white border found on the output of something like the following: import matplotlib.pyplot as plt import matplotlib.patches as mpatches fig = plt.figure() ax =