Skip to content

Commit 227f0c4

Browse files
committed
Merge pull request matplotlib#5707 from jayvdb/missing-string-format-key
Fix string format substitution key missing error
1 parent c6e5046 commit 227f0c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/api/filled_step.py

+1-1
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)