You are reading documentation for the unreleased version of Matplotlib. Try searching for the released version of this page instead?
Applications are open for the 2018 John Hunter Matplotlib Summer Fellowship. Apply now!
Version 2.2.2.post1744+g9382a0569
matplotlib
Fork me on GitHub

matplotlib.axes.Axes.get_data_ratio_log

Axes.get_data_ratio_log()

Returns the aspect ratio of the raw data in log scale. Will be used when both axis scales are in log.