Skip to content

Commit 6ea984c

Browse files
committed
Missing keyword in string formatter (just not assigned)
1 parent 1f1eb15 commit 6ea984c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plotly/graph_objs/graph_objs_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def curtail_val_repr(val, max_chars, add_delim=False):
211211
# TODO: can we assume this ends in "'"
212212
r = r[:max_chars - len(end + "'")] + end + "'"
213213
elif (isinstance(val, list) and
214-
max_chars >= len("[{end}]".format(end))):
214+
max_chars >= len("[{end}]".format(end=end))):
215215
r = r[:max_chars - len(end + ']')] + end + ']'
216216
else:
217217
r = r[:max_chars - len(end)] + end

0 commit comments

Comments
 (0)