Skip to content
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

How to set y-axis autoscaling #101

Open
dalescher opened this issue Apr 24, 2021 · 2 comments
Open

How to set y-axis autoscaling #101

dalescher opened this issue Apr 24, 2021 · 2 comments

Comments

@dalescher
Copy link

I do not find how to force plots to auto adjust y-axis when panning x-axis. Even with 'rangetools=True', the y-axis do not autoscale when moving the range.

Could someone please tell how to set it?

@PatrikHlobil
Copy link
Owner

Hi @dalescher,

I do not really understand your question. Do you want that the y-axis automatically adjusts when you are panning/zooming on the x-axis? If yes, I don't know if you can achieve this using Bokeh. Could you please give me a minimal example that I can better understand your request?

Best Patrik

@dalescher
Copy link
Author

Hello Patrik,

You understand correctly. It would be great if the y-axis could automatically adjust while panning/zooming.

I know it's possible since backtesting.py project manages to do it.
You have a following example at this location: https://kernc.github.io/backtesting.py/doc/examples/Quick%20Start%20User%20Guide.html

and you have their github repo here:
https://github.com/kernc/backtesting.py

I think this would be a great addition to pandas-bokeh.

Kind regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants