On Wed, Jul 21, 2010 at 10:05 AM, alberttresens
<albert.tres...@gmail.com> wrote:
>
> I am getting this trace when trying to plot. I tried all possible
> combinations in the plot parameters, always the same. Can someone recon what
> is happening?
>
> Traceback (most recent call last):
>  File "gcview.py", line 226, in <module>
>    main()
>  File "gcview.py", line 222, in main
>    drawGraph(timeStatpsBeforeGc, usedBeforeGc, timeStampsAfterGc,
> usedAfterGc, heapSizes, timeStampsForFullGc, fullGcIndicators, logStartTS,
> logEndTS, output)
>  File "gcview.py", line 87, in drawGraph
>    plot(0,0)

Recent versions of mpl support plotting of scalars, but older versions
require plotting sequences.  Here you might try:

  plot([0], [0])

instead of

  plot(0, 0)

JDH

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to