On Thu, Jun 9, 2011 at 12:40 PM, Klonuo Umom <klo...@gmail.com> wrote:
> On 09.06.2011 19:29:35 Benjamin Root wrote:
>
> > I looks like backend_emf.py is choking on rgba values. Is EMF unable to
> > handle Alpha channels? The fix should be fairly easy, though.
> >
>
> I have no idea. I installed pyemf today as mpl asked me to if I want to
> export to EMF.
>
> I wanted to use EMF as it's most convenient to use in Word. Hassle free
> vector format that MS likes. It's not problem for me to convert PS/EPS
> to EMF, thou problem should be known
>
>
I set up pull requests to fix this problem, so the v1.0.x-maint branch and
the master branch should soon have the fixes commited to them. You can get
the latest bugfixed branch for v1.0.1 at
https://github.com/matplotlib/matplotlib/tree/v1.0.x-maint, although that
would mean having to build from source. You could also just edit your copy
of the file C:\Python26\lib\site-
packages\matplotlib\backends\backend_emf.py so that [:3] is added to the end
of lines 69 and 105. This page should show you what changes you need:
https://github.com/WeatherGod/matplotlib/commit/bf8d9d6f7cea1546c736d3897387698e6ae5e5b3
I hope that helps!
Ben Root
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users