Fix string format substitution key missing error #5707

Merged
merged 1 commit into from Dec 21, 2015
Jump to file
+1 −1
Split
@@ -41,7 +41,7 @@ def filled_hist(ax, edges, values, bottoms=None, orientation='v',
"""
print(orientation)
if orientation not in set('hv'):
- raise ValueError("orientation must be in {'h', 'v'} "
+ raise ValueError("orientation must be in {{'h', 'v'}} "
"not {o}".format(o=orientation))
kwargs.setdefault('step', 'post')