Improve profit-plot styling

This commit is contained in:
Matthias
2019-08-24 14:49:35 +02:00
parent 2ae398913d
commit fb498795ad
2 changed files with 12 additions and 2 deletions

View File

@@ -259,6 +259,10 @@ def test_generate_profit_graph():
assert isinstance(fig, go.Figure)
assert fig.layout.title.text == "Profit plot"
assert fig.layout.yaxis.title.text == "Price"
assert fig.layout.yaxis2.title.text == "Profit"
assert fig.layout.yaxis3.title.text == "Profit"
figure = fig.layout.figure
assert len(figure.data) == 4