-
Hi guys, is there a way to override 'plot' method to make the scalable height of the chart or at least to set some height?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Referring to the documentation of Backtesting.py, it states that 'The height is currently non-adjustable.' Therefore, you likely won't be able to achieve your desired outcome using the built-in bt.plot(). Alternatively, you might consider exporting the necessary data to Excel to create the chart. |
Beta Was this translation helpful? Give feedback.
-
I've been playing around with this for a while, because ideally the plot would be fullscreen. bt = Backtest(...)
fig = bt.plot(open_browser=False)
fig.sizing_mode = 'stretch_both'
from bokeh.io import show
show(fig) If anybody finds a way to make them look pretty, please open a PR. |
Beta Was this translation helpful? Give feedback.
I've been playing around with this for a while, because ideally the plot would be fullscreen.
This works for me, but the result (the panes not retaining designated aspect) is an issue I didn't find how to overcome.
If anybody finds a way to make them look pretty, please open a PR.