SyntaxFix
Write A Post
Hire A Developer
Questions
Just use axes.get_ylim(), it is very similar to set_ylim. From the docs:
axes.get_ylim()
set_ylim
get_ylim() Get the y-axis range [bottom, top]
get_ylim()
Get the y-axis range [bottom, top]