Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7e7c62f

Browse filesBrowse files
committed
signin with email
1 parent 7c3ca42 commit 7e7c62f
Copy full SHA for 7e7c62f

File tree

1 file changed

+3
-3
lines changed
Filter options

1 file changed

+3
-3
lines changed

‎plotly/plotly.py

Copy file name to clipboardExpand all lines: plotly/plotly.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ def signup(un, email):
2828
return r
2929

3030
class plotly:
31-
def __init__(self, username=None, key=None,verbose=True):
32-
''' plotly constructor. Supply username and api key.
31+
def __init__(self, username_or_email=None, key=None,verbose=True):
32+
''' plotly constructor. Supply username or email and api key.
3333
'''
34-
self.un = username
34+
self.un = username_or_email
3535
self.key = key
3636
self.__filename = None
3737
self.__fileopt = None

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.