#119: fix graphing exception
Merge pull request #1042 from benfitzpatrick/119-fix-graphing

#119: fix graphing exception