Re: [matplotlib-devel] python-2.6 compatible matplotlib

2009-04-09 Thread Michael Droettboom
I did a lot of the initial fixes for Python 2.6 within the first week of 
the 2.6.0 release -- they were mostly of the warning/style nature.  I've 
been running it on 2.6 on and off ever since, so it should be ok.  But 
let us know if you find anything.

Cheers,
Mike

Adam Mercer wrote:
> On Sun, Apr 5, 2009 at 16:01, David Moore  wrote:
>
>   
>> I've had matplotlib running fine on Python 2.6 since shortly after the Python
>> 2.6 release.  I run Arch Linux.  Are you perhaps looking for Windows builds?
>> Or does your distro not have matplotlib compiled for Python 2.6 yet?
>> 
>
> No, I'm looking to package matplotlib for python-2.6 on MacPorts and
> wanted to check that there would be no unexpected surprises, but from
> the above it sounds like all should be good.
>
> Cheers
>
> Adam
>
> --
> ___
> Matplotlib-devel mailing list
> Matplotlib-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>   

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] cannot use some fonts on pdf, ps, eps backends

2009-04-09 Thread Michael Droettboom
Matplotlib only subsets with Type 3 fonts as output.  Type 42 is much 
harder to generate.

We could try generating glyph names when none are available -- anything 
guaranteed to be unique within the font would be fine.  Since I don't 
run Windows, I need to somehow get access to the problematic font file 
for testing, though.

Cheers,
Mike

Jouni K. Seppänen wrote:
> "Andrew Hawryluk"  writes:
>
>   
>>> Does it help if you set ps.fonttype and pdf.fonttype to 42 in
>>> matplotlibrc?
>>>   
>> Yes, that works very well, thanks! However, it now embeds the entire
>> font rather than a subset. This results in a PDF of 14.4 MB with this
>> font. I ran it through ghostscript to get a PDF of 24.2 kB with
>> subsetting, but I'm wondering if I can get subsetting of type 42 fonts
>> directly from matplotlib?
>> 
>
> I'm afraid there's no support for that in the current version, except
> probably in the Cairo backend (every time I try to compile pycairo I run
> into trouble with some of the dependencies, but if you can get it to
> work, it's a very advanced graphics library for producing all sorts of
> formats).
>
>   

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] python-2.6 compatible matplotlib

2009-04-09 Thread Adam Mercer
On Thu, Apr 9, 2009 at 13:46, Michael Droettboom  wrote:
> I did a lot of the initial fixes for Python 2.6 within the first week of the
> 2.6.0 release -- they were mostly of the warning/style nature.  I've been
> running it on 2.6 on and off ever since, so it should be ok.  But let us
> know if you find anything.

The only things I've seen so far are some deprecation warnings of the form:

/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/texmanager.py:55:
DeprecationWarning: os.popen4 is deprecated.  Use the subprocess
module.
  stdin, stdout = os.popen4('dvipng -version')

Cheers

Adam

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel