Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d6ed8eb

Browse filesBrowse 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
Copy full SHA for d6ed8eb

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎examples/api/filled_step.py

Copy file name to clipboardExpand all lines: examples/api/filled_step.py
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.