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

2009-06-27 Thread Jae-Joon Lee
sorry. As guillaume has mentioned, you need to install mpl from svn. Here is some workaround you can try. I guess it would work with 0.98.5.3. Basically, you create a separate axes for a legend. ax1 = axes([0.1, 0.2,0.8, 0.7]) p1, = ax1.plot([1,2,3]) p2, = ax1.plot([3,2,1]) ax2 = axes([0.1, 0.1,

[Matplotlib-users] savefig as pdf not generating vector graphics?

2009-06-27 Thread per freem
hi all, i am using matplotlib 0.98.5.2 on Mac OS X. i am plotting a histogram and then saving it as .pdf. The x and y labels use some symbols from latex, and i have useTex set to true in my rcParams. The code is: import matplotlib.pyplot as plt my_fig = plt.figure(figsize=(5,5)), dpi=100) plt.his

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

2009-06-27 Thread Chris Spencer
Thanks. Is that some sort of blending edge feature? I just installed 0.98.5.3, but the sample code gives me the error: TypeError: __init__() got an unexpected keyword argument 'bbox_to_anchor' On Thu, Jun 25, 2009 at 10:20 PM, Jae-Joon Lee wrote: > The linked page below shows how you put the lege

Re: [Matplotlib-users] Missing files on the web documentation

2009-06-27 Thread John Hunter
On Sat, Jun 27, 2009 at 1:44 AM, LB wrote: > I thing there should be some links on the web pages to download theses > files. > At least, it should be said in the docstring where to find them, don't you > think ? It would be a good idea -- but for now you can grab the source distribution *.tar.gz

[Matplotlib-users] ImportError when import pylab

2009-06-27 Thread Daniel
hi list, I'm new to matplotlib. My environment is WinXP, PythonWin 2.6.2, NumPy 1.3.0, matplotlib 0.98.5.3. >>> import matplotlib.pylab as pylab Traceback (most recent call last): File "", line 1, in File "D:\Python26\lib\site-packages\matplotlib\pylab.py", line 253, in from matplotlib.