@@ -326,19 +326,19 @@ def get_embed(file_owner_or_url, file_id=None, width="100%", height=525):
326
326
"~{file_owner}/{file_id}.embed\" "
327
327
"height=\" {iframe_height}\" width=\" {iframe_width}\" >"
328
328
"</iframe>" ).format (
329
- plotly_rest_url = plotly_rest_url ,
330
- file_owner = file_owner , file_id = file_id ,
331
- iframe_height = height , iframe_width = width )
329
+ plotly_rest_url = plotly_rest_url ,
330
+ file_owner = file_owner , file_id = file_id ,
331
+ iframe_height = height , iframe_width = width )
332
332
else :
333
333
s = ("<iframe id=\" igraph\" scrolling=\" no\" style=\" border:none;\" "
334
334
"seamless=\" seamless\" "
335
335
"src=\" {plotly_rest_url}/"
336
336
"~{file_owner}/{file_id}.embed?share_key={share_key}\" "
337
337
"height=\" {iframe_height}\" width=\" {iframe_width}\" >"
338
338
"</iframe>" ).format (
339
- plotly_rest_url = plotly_rest_url ,
340
- file_owner = file_owner , file_id = file_id , share_key = share_key ,
341
- iframe_height = height , iframe_width = width )
339
+ plotly_rest_url = plotly_rest_url ,
340
+ file_owner = file_owner , file_id = file_id , share_key = share_key ,
341
+ iframe_height = height , iframe_width = width )
342
342
343
343
return s
344
344
@@ -867,7 +867,7 @@ def make_subplots(rows=1, cols=1,
867
867
raise Exception (exception_msg )
868
868
except KeyError :
869
869
specs = [[{}
870
- for c in range (cols )]
870
+ for c in range (cols )]
871
871
for r in range (rows )] # default 'specs'
872
872
873
873
# Throw exception if specs is over or under specified
0 commit comments