enthought/chaco — pull request #169 by jonathanrocher (2014-01-02 18:31:33+00:00)
Title: Fix UnboundLocalError when a datasource of the wrong shape is looked for

We should raise a proper exception when the shape isn't correct as opposed to let an UnboundLocalError occur.