-
Notifications
You must be signed in to change notification settings - Fork 636
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
PNF return_calculated_values --> miny / maxy not correct #624
Comments
will look into the |
hmm. yes, that's a problem. the type of matplotlib axis objects that mplfinance uses do not support matplotlib's tight_layout, therefore mplfinance internally implements its own tight_layout, and obviously the existing algorithm doesn't work correctly for pnf and renko plots. as you mentioned, this probably related (whole or in part) to the calculation of min and max y. |
I am unable to reproduce the |
Please find attached the code and the data. |
I have noticed the miny / maxy might not be correct in the return_calculated_values of PNF (maybe in renko as well?)
The returned values:
miny 137.33999633789065
maxy 181.83999633789065
The chart:
Further, how is minx and maxx to be interpreted, as the x-achis is a timeline, but the values are decimal?
minx -0.9777777777777777
maxx 44.977777777777774
The text was updated successfully, but these errors were encountered: