harmdevries commited on
Commit
1d3cc6c
·
1 Parent(s): 6632c72

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -53,11 +53,11 @@ fig.update_xaxes(ticks= "outside",
53
 
54
  fig.update_yaxes(automargin=True) # fix margins
55
  fig.layout.xaxis.rangeselector = None # remove range selector on top
56
- st.write(fig.layout.yaxis['range'][1])
57
  fig.add_vline(x=datetime.datetime.now().strftime('%Y-%m-%d'), line_width=3, line_dash="dash", line_color="black")
58
  fig.add_annotation({
59
  "x": datetime.datetime.now().strftime('%Y-%m-%d'),
60
- "y": fig.layout.yaxis['range'][1] + 0.1,
61
  "text": "Today",
62
  "align": "center",
63
  "showarrow": False,
 
53
 
54
  fig.update_yaxes(automargin=True) # fix margins
55
  fig.layout.xaxis.rangeselector = None # remove range selector on top
56
+ st.write(fig.layout.yaxis['range'][1] + 0.1)
57
  fig.add_vline(x=datetime.datetime.now().strftime('%Y-%m-%d'), line_width=3, line_dash="dash", line_color="black")
58
  fig.add_annotation({
59
  "x": datetime.datetime.now().strftime('%Y-%m-%d'),
60
+ "y": 2.1,
61
  "text": "Today",
62
  "align": "center",
63
  "showarrow": False,