TwoDSubsetData

class rubin_sim.maf.plots.TwoDSubsetData

Bases: BasePlotter

Plot 2 axes from the slicer.sliceColList, identified by plot_dict[‘xaxis’]/[‘yaxis’], given the metric_values at all slicepoints [sums over non-visible axes].

Methods Summary

__call__(metric_values, slicer, user_plot_dict)

Parameters:

Methods Documentation

__call__(metric_values, slicer, user_plot_dict, fignum=None)
Parameters:
metricValuenumpy.ma.MaskedArray
slicerrubin_sim.maf.slicers.NDSlicer
user_plot_dict: dict

Dictionary of plot parameters set by user (overrides default values). ‘xaxis’ and ‘yaxis’ values define which axes of the nd data to plot along the x/y axes.

fignumint

Matplotlib figure number to use (default = None, starts new figure).

Returns:
int

Matplotlib figure number used to create the plot.