[Matplotlib-users] Stopping Legend From Overlapping the Graph

2009-06-25 Thread Chris Spencer
How do you show the legend below the graph, so it doesn't overlap at all with the graph? The docs for the legend() "loc" parameter only seem to specify where *on* the graph you want it to show, which is driving me nuts because even using "best", it usually hides some of my data. I want to see *all

Re: [Matplotlib-users] Stopping Legend From Overlapping the Graph

2009-06-27 Thread Chris Spencer
adjust the suplot parameter (or axes location) to make > enough room for the legend. > > -JJ > > > > On Thu, Jun 25, 2009 at 9:22 PM, Chris Spencer wrote: >> How do you show the legend below the graph, so it doesn't overlap at >> all with the graph? The docs fo

Re: [Matplotlib-users] Stopping Legend From Overlapping the Graph

2009-06-28 Thread Chris Spencer
uot;Legend1", "Legend2"], mode="expand", ncol=2, > borderaxespad=0.) > > > -JJ > > > > On Sat, Jun 27, 2009 at 6:00 PM, Chris Spencer wrote: >> Thanks. Is that some sort of blending edge feature? I just installed >> 0.98.5.3, but the sa

[Matplotlib-users] Setting Relative Heights For Figure Rows

2010-01-11 Thread Chris Spencer
I wanted to display my figure legend below my figure in the second row, so I used subplot(211) to create two rows. However, this creates two rows of equal height, so my graph is crammed into half the figure height in the first row, while my tiny legend barely fills up any of the second row. How do

[Matplotlib-users] Sigmoid Curve Fitting

2010-09-20 Thread Chris Spencer
Hi, Does Matplotlib/Numpy/Scipy contain the ability to fit a sigmoid curve to a set of data points? Regards, Chris -- Start uncovering the many advantages of virtual appliances and start using them to simplify applicatio

Re: [Matplotlib-users] Sigmoid Curve Fitting

2010-09-20 Thread Chris Spencer
e Googling the problem. I'm not sure what to make of it, although it seems to be an online curve-fitting service. Unfortunately, my usage requires the ability to run the process locally. Regards, Chris On Mon, Sep 20, 2010 at 6:35 PM, Gökhan Sever wrote: > On Mon, Sep 20, 2010 at 3:36

[Matplotlib-users] Unable to Plot Date Axis Due To "TypeError: a float is required"

2008-03-11 Thread Chris Spencer
I'm getting a nonsensical error when attempting to make a simple plot with a date axis. Googling shows this similar errors, but none with a date axis. What could be causing this? >>> import datetime >>> from pylab import figure, show >>> fig = figure() >>> ax = fig.add_subplot(111) >>> dates = [da