[Matplotlib-users] Missing files on the web documentation

2009-06-27 Thread LB
Hi, The documentation presented on http://matplotlib.sourceforge.net/examples is a very good source of information but on some pages it doesn't give all the data needed to have the example running. Indeed, some example needs external files and they are not given in the web documentation, for

[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 interactive input, line 1, in module File D:\Python26\lib\site-packages\matplotlib\pylab.py, line 253, in

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

2009-06-27 Thread John Hunter
On Sat, Jun 27, 2009 at 1:44 AM, LBbravo.l...@gmail.com 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

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 Leelee.j.j...@gmail.com wrote: The linked page below shows

[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)

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,