Mercurial > sqlpython
changeset 160:8329ab7a3a49
catch uninstalled matplotlib better
author | catherine@dellzilla |
---|---|
date | Mon, 29 Sep 2008 15:41:09 -0400 |
parents | 7a581c412cf1 |
children | 2761360e1db0 |
files | sqlpython/plothandler.py |
diffstat | 1 files changed, 2 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/sqlpython/plothandler.py Mon Sep 29 15:35:51 2008 -0400 +++ b/sqlpython/plothandler.py Mon Sep 29 15:41:09 2008 -0400 @@ -75,11 +75,5 @@ except ImportError: class Plot(object): - def build(self, sqlSession): - pass - def save(self): - pass - def shelve(self): - pass - def draw(self): - return 'Must install python-matplotlib to plot query results.' \ No newline at end of file + def __init__(self, *args, **kwargs): + raise ImportError, 'Must install python-matplotlib to draw plots' \ No newline at end of file