-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plotting does not work with Bokeh v3.0 #803
Comments
Downgrading |
Thank you. I also fixed it by using Python 3.7 instead |
This is Bokeh bugs: Please upvote, fix. |
Same issue here using the following for now: |
doesn't work for python 3.9, including the workaround of switching bokeh into version 2.4.3 anyone knows? |
Doesnot work for python 3.9 |
Does work for python 3.10 on macOS |
@bashu while issue gets resolved upstream, running the line below got it working using bokeh version 2.4.2 in MacOS with python 3.9.6 and Backtesting 0.3.3
|
If your attempt still can't work maybe you can try the code below, it does work for me. don't type like this: try this: my version info below: |
I realise that the problem was probably caused by the installed pandas version 2.1. Apparently, the parameter method has been deprecated and removed after pandas 2.0. By installing pandas 1.5.2, it is able to plot. Hope this helps for the time being. |
Not sure how to fix the code, any ideas?
|
bt.plot does not work for me. I have tried all the suggested above solutions but no one worked. Always coped with error: "Bound method Backtest.plot of <backtesting.backtesting.Backtest object at 0x7dc0f4917520" |
Expected Behavior
I installed the tool and all required libraries on Ubuntu 22.04, Python 3.11.0 and ta-lib (compiled from latest source code 0.4.0). The backtest from the example code on home page was run. The test itself ran without
problems but the plot html does not work. It should show the graph.
Actual Behavior
Please see the attached. The html layout is not working. Strangely, no JS error from browser console.
Steps to Reproduce
Additional info
The text was updated successfully, but these errors were encountered: