harmdevries commited on
Commit
33a186a
·
1 Parent(s): 5c74948

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -68,7 +68,14 @@ for name, repo_name in name2repo:
68
  gridcolor='white')
69
  )
70
 
71
- fig.update_yaxes(automargin=True) # fix margins
 
 
 
 
 
 
 
72
  fig.layout.xaxis.rangeselector = None # remove range selector on top
73
 
74
  fig.add_vline(x=datetime.datetime.now().strftime('%Y-%m-%d'), line_width=3, line_dash="dash", line_color="black")
 
68
  gridcolor='white')
69
  )
70
 
71
+ fig.update_layout(
72
+ margin=plotly.go.layout.Margin(
73
+ l=200,
74
+ r=5,
75
+ b=100,
76
+ t=100,
77
+ pad=4
78
+ ))
79
  fig.layout.xaxis.rangeselector = None # remove range selector on top
80
 
81
  fig.add_vline(x=datetime.datetime.now().strftime('%Y-%m-%d'), line_width=3, line_dash="dash", line_color="black")