|
@@ -54,6 +54,7 @@ def todayGrid(level=None,tier=None,columns=None):
|
|
|
def postPlot(card=None,columns=['cost','cost-min','cost-max']):
|
|
|
df=getDF(card).plot(x='date',y=columns)
|
|
|
plt.title(str(card))
|
|
|
+ plt.xticks(rotation=45)
|
|
|
plt.xlabel("Date")
|
|
|
plt.ylabel("Cost")
|
|
|
plt.savefig(f"plots/{card}.png")
|