hello all,

i've tried it on my laptop, but got this error at the last line:

 >>> fig.savefig('samplefigure', bbox_extra_artists=(lgd,), 
bbox_inches='tight')
Traceback (most recent call last):
   File "<console>", line 1, in <module>
   File 
"/Users/me/python/virtualenv/bmfvca6/lib/python2.6/site-packages/matplotlib/figure.py",
 
line 1084, in savefig
     self.canvas.print_figure(*args, **kwargs)
   File 
"/Users/me/python/virtualenv/bmfvca6/lib/python2.6/site-packages/matplotlib/backend_bases.py",
 
line 1894, in print_figure
     in kwargs.pop("bbox_extra_artists", [])]
TypeError: get_window_extent() takes exactly 1 argument (2 given)

does it mean that i need to upgrade to python 2.7 ?

thanks in advance for help,

gerard


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to