plot_run_metric_mesh¶
- rubin_sim.maf.run_comparison.plot_run_metric_mesh(summary, metric_set=None, baseline_run=None, color_range=1, run_label_map=None, metric_label_map=None, ax=None, cmap=<matplotlib.colors.LinearSegmentedColormap object>)¶
Plot normalized metric values as colored points on a cartesian plane.
- Parameters:
- summary
pandas.DataFrame
Values to be plotted. Should only include runs and metrics that should actually appear on the plot.
- baseline_run
str
Name of the run to use as the baseline for normalization (see (archive.normalize_metric_summaries).
- color_range
float
The color range of the plot, in normalized metrics summary units. (The color range will be 1-color_range/2 and 1+color_range/2).
- run_label_mapmapping
A python
mapping
between canonical run names and run labels as they should appear on plot labels.- metric_label_mapmapping
A python
mapping
between canonical metric names and metric labels as they should appear on plot labels.- ax
matplotlib.axes.Axes
The axes on which to plot the data.
- cmap
matplotlib.colors.ColorMap
The color map to use for point colors. A red/blue diverging color map - CET_D1A_r or CET_D1_r A rainbow diverging color map - CET_R3_r
- summary
- Returns:
- fig
matplotlib.figure.Figure
The plot figure..
- ax
matplotilb.axes.Axes
The plot axes.
- fig