In [2]:
print "hello"
Aw, snap! We don't have an account for ''. Want to try again? You can authenticate with your email address or username. Sign in is not case sensitive.
Don't have an account? plot.ly
Questions? support@plot.ly
---------------------------------------------------------------------------
PlotlyError Traceback (most recent call last)
<ipython-input-2-c95cf5467c4c> in <module>()
10
11 table = ff.create_table(data_table)
---> 12 py.iplot(table)
/usr/local/lib/python2.7/site-packages/plotly/plotly/plotly.pyc in iplot(figure_or_data, **plot_options)
156 embed_options['height'] = str(embed_options['height']) + 'px'
157
--> 158 return tools.embed(url, **embed_options)
159
160
/usr/local/lib/python2.7/site-packages/plotly/tools.pyc in embed(file_owner_or_url, file_id, width, height)
388 else:
389 url = file_owner_or_url
--> 390 return PlotlyDisplay(url, width, height)
391 else:
392 if (get_config_defaults()['plotly_domain']
/usr/local/lib/python2.7/site-packages/plotly/tools.pyc in __init__(self, url, width, height)
1363 def __init__(self, url, width, height):
1364 self.resource = url
-> 1365 self.embed_code = get_embed(url, width=width, height=height)
1366 super(PlotlyDisplay, self).__init__(data=self.embed_code)
1367
/usr/local/lib/python2.7/site-packages/plotly/tools.pyc in get_embed(file_owner_or_url, file_id, width, height)
293 "'{1}'."
294 "\nRun help on this function for more information."
--> 295 "".format(url, plotly_rest_url))
296 urlsplit = six.moves.urllib.parse.urlparse(url)
297 file_owner = urlsplit.path.split('/')[1].split('~')[1]
PlotlyError: Because you didn't supply a 'file_id' in the call, we're assuming you're trying to snag a figure from a url. You supplied the url, '', we expected it to start with 'https://plot.ly'.
Run help on this function for more information.
In [ ]:
Content source: useabode/redash
Similar notebooks: