Try Except Python Negative Infinity On A Graph