Navigation

    Backtrader Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/

    cerebro.plot() not showing plot in Google Collab

    General Code/Help
    3
    3
    263
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      nasmal last edited by

      cerebro.plot() yields the following output on my Jupyter notebook hosted at Google Collab:

      [[<Figure size 432x288 with 5 Axes>]]

      I am trying to view the figure, not a description it.

      Unsure if this is a Google Collab or Backtrader issue. The notebook environment ships with preinstalled libraries such as matplotlib and pandas.

      D 1 Reply Last reply Reply Quote 1
      • M
        mgilloo last edited by

        It seems cerebro.plot() is still not working. I tried on my local machine and Jupyter notebook in Google Collab.

        1 Reply Last reply Reply Quote 0
        • D
          davidavr @nasmal last edited by

          @nasmal Did you set %matplotlib inline in your notebook?

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Copyright © 2016, 2017, 2018, 2019, 2020, 2021 NodeBB Forums | Contributors