diff --git a/examples/account_vp_over_time.py b/examples/account_vp_over_time.py index dff893b66469e20e0ca03c501e4d09ce323758c3..f07d8bc2dfb813a06c857c7a086e8c0e8df6ddc0 100644 --- a/examples/account_vp_over_time.py +++ b/examples/account_vp_over_time.py @@ -25,9 +25,12 @@ if __name__ == "__main__": acc_snapshot.build_vp_arrays() timestamps = acc_snapshot.vp_timestamp vp = acc_snapshot.vp + downvote_timestamps = acc_snapshot.downvote_vp_timestamp + downvote_vp = acc_snapshot.downvote_vp plt.figure(figsize=(12, 6)) opts = {'linestyle': '-', 'marker': '.'} plt.plot_date(timestamps, vp, label="Voting power", **opts) + plt.plot_date(downvote_timestamps, downvote_vp, label='Downvote Power', **opts) plt.grid() plt.legend() plt.title("Voting power over time - @%s" % (account))