On Wed, Jul 21, 2010 at 9:16 AM, alberttresens <albert.tres...@gmail.com> wrote:
> 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",  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


Can you post a free-standing script that we can run that exposes the
problem, and please post your mpl version info and other relevant info
suggested at:

http://matplotlib.sourceforge.net/faq/troubleshooting_faq.html#report-a-problem

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