pcarpet.get_axis_coords

pcarpet.get_axis_coords(fig, ax)

Gets various coordinates of an axis within the figure space.

Parameters
figmatplotlib figure object
axmatplotlib axis object
Returns
coordsdictionary

Contains the various coordinates: xmin, xmax, ymin, ymax, W (width), H (height), xcen (x center), ycen (ycenter)