On Thu, Jun 9, 2011 at 11:19 AM, Klonuo Umom <klo...@gmail.com> wrote:
> On 09.06.2011 18:06:57 Nick Veitch wrote:
>
> > Some code sample would help. It means what it says - trying to assign
> > tuples or whatever to too few values, e.g.:
> > x,y= (1,2,3)
> >
> > Is the error raised in your code or a library?
>
> Take any for example, like 'plot([1,2,3])' it doesn't matter
>
> I described my environment: I use matplotlib through IPython on Windows
> XP with Python 2.6.6 and Qt4Agg as backend
>
> Qt backend shows the plot, then I press save icon and choose EMF. Next,
> Qt pops dialog saying 'too many values to unpack'.
> Same happens also with WXAgg. Seems like it's something broken between
> matplotlib and pyemf, but I don't see how I can trace this
>
> Saving PNG, EPS works fine as expected
>
>
Question, does the following cause the same error?
from pylab import *
plot([1, 2, 3])
savefig('foobar.emf')
There might be an important difference between saving from the save dialog
and saving directly through the savefig command.
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