Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c3ca42 commit 7e7c62fCopy full SHA for 7e7c62f
plotly/plotly.py
@@ -28,10 +28,10 @@ def signup(un, email):
28
return r
29
30
class plotly:
31
- def __init__(self, username=None, key=None,verbose=True):
32
- ''' plotly constructor. Supply username and api key.
+ def __init__(self, username_or_email=None, key=None,verbose=True):
+ ''' plotly constructor. Supply username or email and api key.
33
'''
34
- self.un = username
+ self.un = username_or_email
35
self.key = key
36
self.__filename = None
37
self.__fileopt = None
0 commit comments