I am trying to do a plot, and getting and out of index, I am not sure what is
reason. I tried all combinations even with empty arrays and possible
indexes. Always the same. Any one can recon what is happening from the
trace?

Traceback (most recent call last):
  File "gcview.py", line 226, in 
    main()
  File "gcview.py", line 222, in main
    drawGraph(timeStampsBeforeGc, usedBeforeGc, timeStampsAfterGc,
usedAfterGc, heapSizes, timeStampsForFullGc, fullGcIndicators, logStartTS,
logEndTS, output)
  File "gcview.py", line 87, in drawGraph
    plot(0,0)
  File "/usr/local/lib/python2.6/site-packages/matplotlib/pyplot.py", line
2287, in plot
    ret = ax.plot(*args, **kwargs)
  File "/usr/local/lib/python2.6/site-packages/matplotlib/axes.py", line
3776, in plot
    self.autoscale_view(scalex=scalex, scaley=scaley)
  File "/usr/local/lib/python2.6/site-packages/matplotlib/axes.py", line
1793, in autoscale_view
    x0, x1 = xlocator.view_limits(x0, x1)
  File "/usr/local/lib/python2.6/site-packages/matplotlib/ticker.py", line
1176, in view_limits
    return np.take(self.bin_boundaries(dmin, dmax), [0,-1])
  File "/usr/local/lib/python2.6/site-packages/numpy/core/fromnumeric.py",
line 103, in take
    return take(indices, axis, out, mode)
IndexError: index out of range for array

-- 
View this message in context: 
http://old.nabble.com/Plot%28%29-traceback-issue-tp29226304p29226304.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
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