Utilities

Layout

publiplots.subplots

Create a figure and a grid of axes with deterministic axes dimensions.

I/O Utilities

publiplots.savefig

Save figure with publication-ready defaults.

publiplots.save_multiple

Save the same figure in multiple formats.

publiplots.close_all

Close all open figures.

Display Utilities

publiplots.show

Display figures.

publiplots.suptitle

Add a figure-level title to the current figure.

Axes Utilities

publiplots.adjust_spines

Adjust which spines are visible and their appearance.

publiplots.add_grid

Add customizable gridlines to axes.

publiplots.set_axis_labels

Set axis labels and title with consistent formatting.

publiplots.add_reference_line

Add a reference line to the plot.

publiplots.rotate

Rotate axis tick labels.

publiplots.invert_axis

Invert an axis direction.