davidlmorton/spikepy — Issue #6: Clustering Visualization
Author: jspobst
Created: 2012-01-10 17:26:44+00:00
State: open

Whoops I thought I submitted this yesterday. oh well.

I went through a strategy.
Clustered with 5 units fine.
Changed to 1 unit and the 'Clustered event Raster(s)' plot went black, and an error was reported in the terminal.
Changed to 2 units and the plot remained black.
Clicked invert colors and the plot changed to the notice that an error had occurred with the visualization.

Here is the traceback:

[2:16pm]@TurtleCortexII:~>spikepy_gui.py
Xlib: extension "RANDR" missing on display ":0.0".
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/spikepy/developer_tools/visualization.py", line 131, in draw
self._plot(trial, parent_panel.plot_panel.figure, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/spikepy/builtins/visualizations/clustered_rasters.py", line 153, in _plot
pos = ymax - i/float(len(cft.keys())-1)*yrange
ZeroDivisionError: float division
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/spikepy/developer_tools/visualization.py", line 135, in draw
parent_panel.plot_panel._restore_history()
File "/usr/local/lib/python2.6/dist-packages/spikepy/plotting_utils/plot_panel.py", line 128, in _restore_history
self.toolbar._update_view()
File "/usr/lib/pymodules/python2.6/matplotlib/backend_bases.py", line 2154, in _update_view
xmin, xmax, ymin, ymax = lims[i]
IndexError: list index out of range
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/spikepy/developer_tools/visualization.py", line 135, in draw
parent_panel.plot_panel._restore_history()
File "/usr/local/lib/python2.6/dist-packages/spikepy/plotting_utils/plot_panel.py", line 128, in _restore_history
self.toolbar._update_view()
File "/usr/lib/pymodules/python2.6/matplotlib/backend_bases.py", line 2154, in _update_view
xmin, xmax, ymin, ymax = lims[i]
IndexError: list index out of range
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/spikepy/developer_tools/visualization.py", line 135, in draw
parent_panel.plot_panel._restore_history()
File "/usr/local/lib/python2.6/dist-packages/spikepy/plotting_utils/plot_panel.py", line 128, in _restore_history
self.toolbar._update_view()
File "/usr/lib/pymodules/python2.6/matplotlib/backend_bases.py", line 2154, in _update_view
xmin, xmax, ymin, ymax = lims[i]
IndexError: list index out of range
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/spikepy/developer_tools/visualization.py", line 135, in draw
parent_panel.plot_panel._restore_history()
File "/usr/local/lib/python2.6/dist-packages/spikepy/plotting_utils/plot_panel.py", line 128, in _restore_history
self.toolbar._update_view()
File "/usr/lib/pymodules/python2.6/matplotlib/backend_bases.py", line 2154, in _update_view
xmin, xmax, ymin, ymax = lims[i]
IndexError: list index out of range
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/spikepy/developer_tools/visualization.py", line 135, in draw
parent_panel.plot_panel._restore_history()
File "/usr/local/lib/python2.6/dist-packages/spikepy/plotting_utils/plot_panel.py", line 128, in _restore_history
self.toolbar._update_view()
File "/usr/lib/pymodules/python2.6/matplotlib/backend_bases.py", line 2154, in _update_view
xmin, xmax, ymin, ymax = lims[i]
IndexError: list index out of range