> 0.5. gc.set_linewidth is then called with the string '0.5' as the argument,
> which triggers the error. If I replace '0.5' by 0.5, the example runs fine
> with the MacOSX backend.
>
> Is there a reason why this needs to be a string here? I would think that
> in
gt; desktops for less than the cost of PCs and save 60% on VDI infrastructure
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> ___
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotl
> on Linux).
>
> Mike
>
>
> On 01/06/2012 10:54 AM, Mingkui Li wrote:
>
> I just updated matplotlib to 1.1 and want try the new features Sankey
> Diagrams
>
> and
> Animation
>
> but when I try the api example cod
the code is: gc.set_linewidth(lw)
I added "lw = np.float(lw)" before "gc.set_linewidth(lw)", then the
example code runs successfully.
Any help?
Thanks for any reply.
--
Mingkui Li
--
Ridiculously easy VDI. W