Skip to content

Commit 1289748

Browse files
committed
Indent code.
1 parent 4bb5ab7 commit 1289748

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

plotly/tools.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -326,19 +326,19 @@ def get_embed(file_owner_or_url, file_id=None, width="100%", height=525):
326326
"~{file_owner}/{file_id}.embed\" "
327327
"height=\"{iframe_height}\" width=\"{iframe_width}\">"
328328
"</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)
332332
else:
333333
s = ("<iframe id=\"igraph\" scrolling=\"no\" style=\"border:none;\" "
334334
"seamless=\"seamless\" "
335335
"src=\"{plotly_rest_url}/"
336336
"~{file_owner}/{file_id}.embed?share_key={share_key}\" "
337337
"height=\"{iframe_height}\" width=\"{iframe_width}\">"
338338
"</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)
342342

343343
return s
344344

@@ -867,7 +867,7 @@ def make_subplots(rows=1, cols=1,
867867
raise Exception(exception_msg)
868868
except KeyError:
869869
specs = [[{}
870-
for c in range(cols)]
870+
for c in range(cols)]
871871
for r in range(rows)] # default 'specs'
872872

873873
# Throw exception if specs is over or under specified

0 commit comments

Comments
 (0)