The Comparison Interactive page

PESummary is able to produce interactive plots using the plotly Python package.

Alongside the interactive plots for a single analysis, we produce interactive plots to compare multiple result files. These can be seen on the comparison interactive page.

Ridgeline plot

If more than one result file is passed, PESummary will produce an interactive ridgeline plot comparing the posterior distributions for every parameter that is common to all result files by default. An example ridgeline plot is shown below:

pesummary.core.plots.interactive.ridgeline(data, labels, xlabel='x', palette='colorblind', colors=None, width=3, write_to_html_file='interactive_ridgeline.html', showlegend=False, dimensions={'height': 700, 'width': 1100})[source]

Build an interactive ridgeline plot

Parameters:
  • data (list, np.ndarray) – The samples you wish to produce a ridgline plot for. This should be a 2 dimensional array where the zeroth axis is the list of samples and the next axis is are the dimensions of the space

  • labels (list) – List of labels corresponding to each set of samples

  • xlabel (str) – The label for the x coordinates

  • palette (str) – Name of the seaborn colorpalette to use for the different posterior distributions

  • colors (list) – List of colors to use for the different posterior distributions

  • width (float) – Width of the violin plots

  • write_to_html_file (str) – Name of the html file you wish to write the figure to

  • showlegend (Bool) – Whether or not to add a legend to the plot

  • dimensions (dict) – A dictionary giving the width and height of the figure