getdist.plots.getSubplotPlotter

getdist.plots.getSubplotPlotter(subplot_size=2, width_inch=None, **kwargs)[source]

Get a GetDistPlotter for making an array of subplots.

If width_inch is None, just makes plot as big as needed for given subplot_size, otherwise fixes total width and sets default font sizes etc. from matplotlib’s default rcParams.

Use this or getSinglePlotter() to make a GetDistPlotter instance for making plots. If you want customized sizes or styles for all plots, you can make a new module defining these functions, and then use it exactly as a replacement for getdist.plots.

Parameters:
  • subplot_size – The size of each subplot in inches
  • width_inch – Optional total width in inches
  • kwargs – arguments for GetDistPlotter
Returns:

The GetDistPlotter instance