Update renderer.py

Changes import of plotly to plotly.plotly as py and uses the plotly.plotly function 'sign_in' for credentials.

This reflects some changes to how credentials are accepted in plotly. Additional changes should include the option to use plotly.tools.get_credentials_file().