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

Skip to content

Commit 7e7c62f

Browse files
committed
signin with email
1 parent 7c3ca42 commit 7e7c62f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plotly/plotly.py

Lines 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)