diff --git a/examples/lesson05/RollDie.py b/examples/lesson05/RollDie.py index e49ab9b..d6f07fe 100755 --- a/examples/lesson05/RollDie.py +++ b/examples/lesson05/RollDie.py @@ -14,7 +14,7 @@ title = f'Rolling a Six-Sided Die {len(rolls):,} Times' sns.set_style('whitegrid') # white backround with gray grid lines -axes = sns.barplot(values, frequencies, palette='bright') # create bars +axes = sns.barplot(x=values, y=frequencies, palette='bright') # create bars axes.set_title(title) # set graph title axes.set(xlabel='Die Value', ylabel='Frequency') # label the axes