---------------------------------------------------------------------------
PlotlyRequestError Traceback (most recent call last)
<ipython-input-4-43cfbafc0240> in <module>()
1 import plotly
2 plotly.offline.init_notebook_mode()
----> 3 figure = plotly.plotly.get_figure('https://plot.ly/~prashasti/7')
4 print figure
/home/palashkulshreshtha/anaconda2/lib/python2.7/site-packages/plotly/plotly/plotly.pyc in get_figure(file_owner_or_url, file_id, raw)
456
457 fid = '{}:{}'.format(file_owner, file_id)
--> 458 response = v2.plots.content(fid, inline_data=True)
459 figure = response.json()
460 if six.PY2:
/home/palashkulshreshtha/anaconda2/lib/python2.7/site-packages/plotly/api/v2/plots.pyc in content(fid, share_key, inline_data, map_data)
52 params = make_params(share_key=share_key, inline_data=inline_data,
53 map_data=map_data)
---> 54 return request('get', url, params=params)
55
56
/home/palashkulshreshtha/anaconda2/lib/python2.7/site-packages/retrying.pyc in wrapped_f(*args, **kw)
47 @six.wraps(f)
48 def wrapped_f(*args, **kw):
---> 49 return Retrying(*dargs, **dkw).call(f, *args, **kw)
50
51 return wrapped_f
/home/palashkulshreshtha/anaconda2/lib/python2.7/site-packages/retrying.pyc in call(self, fn, *args, **kwargs)
204
205 if not self.should_reject(attempt):
--> 206 return attempt.get(self._wrap_exception)
207
208 delay_since_first_attempt_ms = int(round(time.time() * 1000)) - start_time
/home/palashkulshreshtha/anaconda2/lib/python2.7/site-packages/retrying.pyc in get(self, wrap_exception)
245 raise RetryError(self)
246 else:
--> 247 six.reraise(self.value[0], self.value[1], self.value[2])
248 else:
249 return self.value
/home/palashkulshreshtha/anaconda2/lib/python2.7/site-packages/retrying.pyc in call(self, fn, *args, **kwargs)
198 while True:
199 try:
--> 200 attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
201 except:
202 tb = sys.exc_info()
/home/palashkulshreshtha/anaconda2/lib/python2.7/site-packages/plotly/api/v2/utils.pyc in request(method, url, **kwargs)
164 status_code = response.status_code if response else None
165 content = response.content if response else 'No content'
--> 166 raise exceptions.PlotlyRequestError(message, status_code, content)
167 validate_response(response)
168 return response
PlotlyRequestError: ('Connection broken: IncompleteRead(0 bytes read)', IncompleteRead(0 bytes read))