On 04/15/2011 12:08 PM, Thomas Robitaille wrote:
> Hi,
>
> The following code causes matplotlib to hang:
>
> ---
>
> import numpy as np
>
> import matplotlib as mpl
> mpl.use('Agg')
> import matplotlib.pyplot as plt
> from matplotlib.patches import Circle
>
> fig = plt.figure()
> ax = fig.add_subplot(1,1,1)
> ax.add_patch(Circle((1.e17, 1.e17), radius=1.e15))
> fig.savefig('test.png')
>
> ---
>
> Am I doing something wrong?

You found a bug, presumably in extension code, since Ctl-C doesn't bring 
it to a halt.

Eric

>
> Thanks for any help,
>
> Cheers,
> Tom

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to