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.
2 parents ab14adb + 284162c commit 0dd8b19Copy full SHA for 0dd8b19
chart_studio/tools.py
@@ -287,7 +287,7 @@ def _get_embed_url(file_owner_or_url, file_id=None):
287
"The 'file_id' argument must be a non-negative number."
288
)
289
290
- if share_key is "":
+ if share_key == "":
291
return "{plotly_rest_url}/~{file_owner}/{file_id}.embed".format(
292
plotly_rest_url=plotly_rest_url, file_owner=file_owner, file_id=file_id
293
0 commit comments