diff --git a/templates/base.html b/templates/base.html index b3bbe0f..d892d4b 100644 --- a/templates/base.html +++ b/templates/base.html @@ -170,13 +170,13 @@
- @@ -153,7 +153,10 @@ 'title': {'text': ''}, 'xaxis': {'anchor': 'y', 'domain': [0.0, 1.0], 'title':''}, 'yaxis': {'anchor': 'x', 'domain': [0.0, 1.0], 'title':''}, - 'margin': {'l': 50, 'r': 50, 't': 20, 'b': 50} + 'margin': {'l': 50, 'r': 50, 't': 10, 'b': 50}, + 'legend': {'yanchor': 'bottom', 'y': 1.3, 'xanchor': 'left', 'x': 0, 'orientation':'h', + 'font': {'size':8} + } }; const rlayout = { 'autosize': true, @@ -161,7 +164,7 @@ 'xaxis': {'anchor': 'y', 'domain': [0.0, 1.0], 'title':''}, 'yaxis': {'anchor': 'x', 'domain': [0.0, 1.0], 'title':''}, 'margin': {'l': 20, 'r': 10, 't': 50, 'b': 50}, - 'legend': {'yanchor': 'top', 'y': 1.2, 'xanchor': 'left', 'x': 0.01, 'orientation':'h'} + 'legend': {'yanchor': 'top', 'y': 1.3, 'xanchor': 'left', 'x': 0.01, 'orientation':'h'} }; const blayout = { 'autosize': true, @@ -169,7 +172,7 @@ 'xaxis': {'anchor': 'y', 'domain': [0.0, 1.0], 'title':''}, 'yaxis': {'anchor': 'x', 'domain': [0.0, 1.0], 'title':''}, 'margin': {'l': 40, 'r': 10, 't': 50, 'b': 70}, - 'legend': {'yanchor': 'top', 'y': 1.2, 'xanchor': 'left', 'x': 0.01, 'orientation':'h'} + 'legend': {'yanchor': 'top', 'y': 1.3, 'xanchor': 'left', 'x': 0.01, 'orientation':'h'} }; var w = {{ data.weight|safe }}; var r = {{ data.ret|safe }};