reVReports.utilities.plots#

Plotting utilities

Functions

autoscale_x(ax[, margin])

Rescale the x-axis to fit the subset of data that is visible

autoscale_y(ax[, margin])

Rescale the y-axis to fit the subset of data that is visible

compare_images_approx(image_1_path, image_2_path)

Check if two images match approximately

configure_matplotlib()

Adjust settings of matplotlib for faster plotting

format_graph(graph[, xmin, xmax, ymin, ...])

Formatter for single seaborn plots.

is_numeric(s)

Check whether a variable is numeric

wrap_labels(ax, width[, break_long_words])

Wrap tick labels of the x axis