File tree 1 file changed +0
-25
lines changed 1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change 1
1
__version__ = '1.0.14'
2
-
3
- # import requests
4
- #
5
- # _plotly_pypi_url = "https://pypi.python.org/pypi/plotly"
6
-
7
-
8
- # def check_version():
9
- # msg = ""
10
- # succeded = True
11
- # try:
12
- # response = requests.get(_plotly_pypi_url)
13
- # title = response.text.split('<title>')[1].split('</title>')[0]
14
- # newest_version = title.split(' ')[1]
15
- # msg += "Newest version: {}\n".format(newest_version)
16
- # except:
17
- # succeded = False
18
- # msg += "Check {} for the newest version.\n".format(_plotly_pypi_url)
19
- # msg += "Your version: {}\n\n".format(__version__)
20
- # if succeded:
21
- # if newest_version != __version__:
22
- # msg += "Looks like you might be running an old version of our " \
23
- # "Python API. Don't fret, just run:\n\n" \
24
- # "pip install --upgrade plotly\n\n" \
25
- # "to get our newest release.\n"
26
- # return msg
You can’t perform that action at this time.
0 commit comments