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/

    Javascript Error: IPython is not defined

    General Code/Help
    4
    5
    1450
    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.
    • S
      Sam last edited by

      Hi, I am using jupyter lab. When I run backtrader , It can't plot and throws error :" Javascript Error: IPython is not defined"
      Can anyone help me? Thank you!!!

      1 Reply Last reply Reply Quote 0
      • run-out
        run-out last edited by

        Try using

        cerebro.plot(iplot=False)
        
        S 1 Reply Last reply Reply Quote 1
        • S
          Sam @run-out last edited by

          @run-out It doesn't work, Thank you anyway!

          1 Reply Last reply Reply Quote 1
          • A
            ab_trader last edited by

            Looks like this is not bt issue. Try info on this link - https://stackoverflow.com/questions/51922480/javascript-error-ipython-is-not-defined-in-jupyterlab

            1 Reply Last reply Reply Quote 0
            • huzhouyux
              huzhouyux last edited by

              it seems that cerebro.plot() function has overwrite some parameters on Jupyterlab. using Jupyter notebook is ok.

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post
              Copyright © 2016, 2017, 2018 NodeBB Forums | Contributors
              $(document).ready(function () { app.coldLoad(); }); }