Skip to content

Copy the default corner_kwargs

Currently, in _make_corner_plot in plot.py te default_kwargs directly points to conf.corner_kwargs. This means that conf.corner_kwargs itself gets updated and if this function is called again within the same session any previous values (including previous figure objects) stay within the kwargs. This PR instead makes default_kwargs and copy of conf.corner_kwargs so the previous values do not get kept.

Merge request reports

Loading