Possible fix: https://github.com/mementum/backtrader/pull/423
For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
K
Posts made by kenorb
-
RE: cerebro.plot on Colab not displaying chart
@jf Similar workaround to display in Colab:
from google.colab import files from IPython.display import Image chart_file = 'result.png' cerebro.plot()[0][0].savefig(chart_file, dpi=300) Image(open(chart_file, 'rb').read())