chainconsumer.PlotConfig ¶
Bases: BetterBase
Source code in src/chainconsumer/plotting/config.py
labels
class-attribute
instance-attribute
¶
max_ticks
class-attribute
instance-attribute
¶
plot_hists
class-attribute
instance-attribute
¶
flip
class-attribute
instance-attribute
¶
serif
class-attribute
instance-attribute
¶
usetex
class-attribute
instance-attribute
¶
diagonal_tick_labels
class-attribute
instance-attribute
¶
diagonal_tick_labels: bool = Field(default=True, description='Whether to show tick labels on the diagonal')
label_font_size
class-attribute
instance-attribute
¶
tick_font_size
class-attribute
instance-attribute
¶
spacing
class-attribute
instance-attribute
¶
contour_label_font_size
class-attribute
instance-attribute
¶
show_legend
class-attribute
instance-attribute
¶
show_legend: bool | None = Field(default=None, description='Whether to show the legend. None means determine automatically')
legend_kwargs
class-attribute
instance-attribute
¶
legend_location
class-attribute
instance-attribute
¶
legend_location: tuple[int, int] | None = Field(default=None, description='Which subplot to put the legend in')
legend_artists
class-attribute
instance-attribute
¶
legend_artists: bool | None = Field(default=None, description='Whether to show artists in the legend')
legend_color_text
class-attribute
instance-attribute
¶
watermark
class-attribute
instance-attribute
¶
watermark_text_kwargs
class-attribute
instance-attribute
¶
watermark_text_kwargs: dict[str, Any] = Field(default={}, description='Kwargs to pass to the watermark text')
summarise
class-attribute
instance-attribute
¶
summarise: bool = Field(default=True, description='Whether to annotate the plot with summary statistics')
summary_font_size
class-attribute
instance-attribute
¶
sigma2d
class-attribute
instance-attribute
¶
sigma2d: bool = Field(default=False, description='Whether to use 2D sigmas for summary statistics. Ie in 2D a 1sigma contour does *not* encapsulate 68% of the volume, it covers 39.3% of the volume.')
blind
class-attribute
instance-attribute
¶
log_scales
class-attribute
instance-attribute
¶
log_scales: list[ColumnName] = Field(default=[], description='Whether to use log scales for some parameters')
extents
class-attribute
instance-attribute
¶
extents: dict[ColumnName, tuple[float, float]] = Field(default={}, description="Extents for parameters. Any you don't specify are determined automatically")