getdist.plots.get_single_plotter

getdist.plots.get_single_plotter(ratio: Optional[float] = None, width_inch: Optional[float] = None, scaling: Optional[bool] = None, rc_sizes=False, style: Optional[str] = None, **kwargs)[source]

Get a GetDistPlotter for making a single plot of fixed width.

For a half-column plot for a paper use width_inch=3.464.

Use this or get_subplot_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()).

Parameters:
  • ratio – The ratio between height and width.
  • width_inch – The width of the plot in inches
  • scaling – whether to scale down fonts and line widths for small subplot axis 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
  • style – name of a plotter style (associated with custom plotter class/settings), otherwise uses active
  • kwargs – arguments for GetDistPlotter
Returns:

The GetDistPlotter instance