]> rtime.felk.cvut.cz Git - coffee/coffee-flask.git/commit
Use day abbreviations instead of numbers for days
authorJiri Hubacek <hubacji1@fel.cvut.cz>
Thu, 9 Aug 2018 13:26:20 +0000 (13:26 +0000)
committerMichal Sojka <michal.sojka@cvut.cz>
Thu, 9 Aug 2018 15:48:59 +0000 (17:48 +0200)
commitf47a8704e8ea99a70fd8a98324ad664b96392393
tree1438ad1cd00b22e5e5dd04a446581c1f36bc2e1f
parentcb581f79457546f917e56723d438fb21408d1706
Use day abbreviations instead of numbers for days

The originally meant x axis description may be accomplished by using

    plt.xticks(range(len(days)), days)

instead of

    plt.xticks(range(len(days)), xdays)
app.py