[SciPy-User] scipy central comments

josef.pktd@gmai... josef.pktd@gmai...
Thu Sep 1 14:22:45 CDT 2011


I'm still in favor of a comment system.

http://scipy-central.org/item/22/3/building-a-simple-interactive-2d-data-viewer-with-matplotlib

looks nice but what version of matplotlib does it work with?


>python building_a_simple_interactive_2d_data_viewer_with_matplotlib_v3.py

loading C:\Users\josef\.matplotlib\sample_data\ct.raw
Traceback (most recent call last):
  File "building_a_simple_interactive_2d_data_viewer_with_matplotlib_v3.py", lin
e 124, in <module>
    fig_v=viewer_2d(z,x,y)
  File "building_a_simple_interactive_2d_data_viewer_with_matplotlib_v3.py", lin
e 39, in __init__
    self.overview=plt.subplot2grid((8,4),(0,0),rowspan=7,colspan=2)
  File "C:\Python26\lib\site-packages\matplotlib\pyplot.py", line 800, in subplo
t2grid
    a = Subplot(fig, subplotspec, **kwargs)
  File "C:\Python26\lib\site-packages\matplotlib\axes.py", line 8326, in __init_
_
    self.update_params()
  File "C:\Python26\lib\site-packages\matplotlib\axes.py", line 8358, in update_
params
    return_all=True)
  File "C:\Python26\lib\site-packages\matplotlib\gridspec.py", line 378, in get_
position
    figBottom2 = figBottoms[rowNum2]
IndexError: list index out of range

Josef


More information about the SciPy-User mailing list