Fixed small pylint complaints in graph_canvas.py.

Leo build: 20140921062358