Skip to content

Commit

Permalink
DOC update example
Browse files Browse the repository at this point in the history
  • Loading branch information
glemaitre committed Feb 10, 2018
1 parent 21f7249 commit a5e639b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions examples/plot_power_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@
# rider.add_activities(load_fit())
rider = Rider.from_csv(load_rider())

rider.power_profile_.plot()
rider.power_profile_.loc['power'].plot()
plt.xlabel('Time')
plt.ylabel('Power (W)')

rider.record_power_profile().plot(alpha=0.5, style='--', legend=True)
rider.record_power_profile()['power'].plot(alpha=0.5,
style='--',
legend=True)
plt.xlabel('Time')
plt.ylabel('Power (W)')

Expand Down

0 comments on commit a5e639b

Please sign in to comment.