autopew.util.plot

autopew.util.plot.bin_centres_to_edges(centres)[source]

Translates point estimates at the centres of bins to equivalent edges, for the case of evenly spaced bins.

autopew.util.plot.bin_edges_to_centres(edges)[source]

Translates edges of histogram bins to bin centres.

autopew.util.plot.data_to_pixels_transform(ax)[source]
autopew.util.plot.plot_2dhull(data, ax=None, s=0, **plotkwargs)[source]

Plots a 2D convex hull around an array of xy data points.

autopew.util.plot.plot_transform(src, dest=None, tfm=None, ref=None, ax=None, sharex=False, sharey=False, invert0=[False, True], invert1=[False, True], figsize=(10, 5), titles=['Source Coordinates', 'Destination Coordinates'], hull=True)[source]

Visualise an affine transfrom.