Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bcca6bb

Browse files
committed
Changed error message for PlotlyLocalCredentialsError.
1 parent cecda5f commit bcca6bb

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

plotly/exceptions.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -156,17 +156,7 @@ def __init__(self):
156156
"module:\n"
157157
">>> import plotly.tools as tls\n"
158158
">>> tls.set_credentials_file(username='username', api_key='api-key')\n\n"
159-
"Note that 'username' should be a string containing YOUR Plotly "
160-
"username and 'api-key' should be a string containing YOUR Plotly "
161-
"api-key. To view your api-key:\n"
162-
"1. Visit our website: https://plot.ly/\n"
163-
"2. Sign-in using your Plotly username and password (different "
164-
"from api-key)\n"
165-
"3. Click the drop-down menu in the upper-right corner that says "
166-
"your username.\n"
167-
"4. Select 'settings' from this list.\n"
168-
"5. Under the 'profile' tab in the settings list, you will find "
169-
"your 'API Key'.\n")
159+
"For more help, see https://plot.ly/python.\n")
170160
super(PlotlyLocalCredentialsError, self).__init__(message)
171161

172162

0 commit comments

Comments
 (0)