getdist.plots.get_subplot_plotter(subplot_size: float | None = None, width_inch: float | None = None, scaling: bool | None = None, rc_sizes=False, subplot_size_ratio: float | None = None, style: str | None = None, **kwargs) GetDistPlotter[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 get_single_plotter() to make a GetDistPlotter instance for making plots. This function will use the active style by default, which will determine defaults for the various optional parameters (see set_active_style()).

  • subplot_size – The size of each subplot in inches

  • width_inch – Optional total width in inches

  • scaling – whether to scale down fonts and line widths for small sizes (relative to reference sizes, 3.5 inch)

  • rc_sizes – set default font sizes from matplotlib’s current rcParams if no explicit settings passed in kwargs

  • subplot_size_ratio – ratio of height to width for subplots

  • style – name of a plotter style (associated with custom plotter class/settings), otherwise uses active

  • kwargs – arguments for GetDistPlotter


The GetDistPlotter instance