-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Plotting result in TypeError: Index.get_loc() got an unexpected keyword argument 'method' #1010
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
Comments
hey @trueToastedCode, to save you some time (which I spent digging into this), this issue has been addressed by this commit. Although it is not released, you can just install the most recent version of the library from here |
I am getting the same issue on a large dataframe. When I shrink the dataframe (~1,000 rows), I get a different error message: It seems with the latter issue I am also limited by the bokeh developers to release a bug fix. I have Mac OS Ventura 13.5, M1 chip, Backtesting 0.3.3, Bokeh 3.2.2 |
To install latest version from repo instead of PYPI, please find instruction in here: #987 (comment) |
Fixed in dfba461. Fix released. 🎆 |
Expected Behavior
Plotting should work.
Actual Behavior
Fails, but only using large dataframe.
>>> bt.plot()
Steps to Reproduce
[ ! ] Error only occurs when using huge dataframe, in my case it had a length of 499197. Same code however worked when making it smaller.
Additional info
bokeh.__version__
: 2.4.3The text was updated successfully, but these errors were encountered: