Given a matplotlib axis, how do I find its current min and max limits; e.g., as might have been previously set in ax.set(xscale='log', xlim=...)?
xmin,xmax = ax.get_xlim()
ymin,ymax = ax.get_ylim()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With