Thanks, the svn version is working nicely.

Cheers
Mike

On 12/09/2009 01:21 PM, Michael Droettboom wrote:
> I can confirm this bug on matplotlib-0.99.0, and 0.99.1.2, but not on
> SVN head. I think this is related to a recently fixed bug involving the
> renderer outputting single-point lines (which obviously doesn't make
> sense, and Postscript has problems with).
>
> You can either install from SVN (I recommend using the 0.99.x branch
> [1], rather than the trunk), or set the rcParam 'path.simplify' to
> False. Unfortunately, the latter will result in some very large file sizes.
>
> [1] https://matplotlib.svn.sf.net/svnroot/matplotlib/branches/v0_99_maint
>
> Cheers,
> Mike
>
> Michael Cohen wrote:
>> Hi there,
>> Does anyone know what might be the problem with this EPS write?
>> Please see my email of Dec 6th for the attachments.
>>
>> Regards,
>> Michael
>>
>> Michael Cohen wrote:
>>> Hi,
>>>
>>> Sorry for taking a few days to reply.
>>> Basic system information
>>>
>>> $ uname -a
>>> Linux shc-b 2.6.18-128.1.10.el5 #1 SMP Wed Apr 29 13:53:08 EDT 2009
>>> x86_64 x86_64 x86_64 GNU/Linux
>>> $ head -n1 /etc/issue
>>> Red Hat Enterprise Linux Server release 5.3 (Tikanga)
>>> $
>>>
>>> matplotlibrc attached.
>>>
>>> plot_test.py attached also.
>>>
>>> $ python
>>> Python 2.6.2 (r262:71600, Sep 16 2009, 13:37:23)
>>> [GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2
>>> Type "help", "copyright", "credits" or "license" for more information.
>>> >>> import matplotlib
>>> >>> print matplotlib.__version__
>>> 0.99.0
>>> >>>
>>>
>>> finally, failed output eps also attached.
>>>
>>> The plot generates a set of horizontal and vertical lines to make a
>>> grid, and then applies the Mollweide projection to give latitude and
>>> longitude lines.
>>> For some reason, not running the projection (i.e. lines 43-51 in the
>>> python script) gives a file that outputs as a nice eps. If you do
>>> keep the Mollweide projection in, you still generate a lovely plot,
>>> but the savefig to .eps fails.
>>>
>>> Thanks,
>>> Michael
>>>
>>>
>>> John Hunter wrote:
>>>> On Wed, Dec 2, 2009 at 3:20 PM, Michael Cohen <mco...@caltech.edu>
>>>> wrote:
>>>>> Hi,
>>>>> To add more information. I am trying this on two separate installs of
>>>>> matplotlib 0.99, both using TkAgg as the backend. One produces an
>>>>> unreadable file, the other does produce a readable EPS. However, even
>>>>> in this case, zooming in on the image shows that what is being
>>>>> saved is
>>>>> bitmapped, not a vector graphic.
>>>> Could you please post some sample code and the EPS it generates, as
>>>> well as platform information and any specific rc settings you may
>>>> have?
>>>>
>>>> Thanks,
>>>> JDH
>>
>> ------------------------------------------------------------------------------
>>
>> Return on Information:
>> Google Enterprise Search pays you back
>> Get the facts.
>> http://p.sf.net/sfu/google-dev2dev
>> _______________________________________________
>> Matplotlib-users mailing list
>> Matplotlib-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>


------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to