aPriori.plot_utilities¶

Plotting Utilities

Functions¶

parity_plot(x, y[, rel_error, colormap, x_name, ...])

contour_plot(X, Y, Z[, log, colormap, cbar_title, ...])

cond_mean_plot(x, y[, num_bins, log, minmax, ...])

Plots the conditional mean of y over x using numpy.

scatter(x, y[, logx, logy, c, s, alpha, max_dim, ...])

plot_multifield(X, Y, fields[, titles, n_cols, ...])

Plot multiple 2D fields as subplots with shared colorbar and scaling.

bins(x, y[, n, log])

Bins the data in x and y into n bins and computes the average, max, and min of y for each bin.

generate_colors(num_colors[, cmap])

Generates a list of distinct colors.

generate_markers(n)

generate_lines(n)