Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d6ed8eb

Browse files
committed
Merge pull request #5707 from jayvdb/missing-string-format-key
Fix string format substitution key missing error
2 parents f413b78 + b8f127b commit d6ed8eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/api/filled_step.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def filled_hist(ax, edges, values, bottoms=None, orientation='v',
4141
"""
4242
print(orientation)
4343
if orientation not in set('hv'):
44-
raise ValueError("orientation must be in {'h', 'v'} "
44+
raise ValueError("orientation must be in {{'h', 'v'}} "
4545
"not {o}".format(o=orientation))
4646

4747
kwargs.setdefault('step', 'post')

0 commit comments

Comments
 (0)