sensortoolkit.plotting._plot_formatting.met_scatter_lims
- met_scatter_lims(met_data, param, met_param, xlims, ylims, serials, depvar_df_list, dep_var)[source]
Set axes limits for plots generated by
met_influence().- Parameters
met_data (pandas DataFrame) – Reference dataset containing meteorological data for either temperature or relative humidity, logged at 1-hour averages.
param (str) – The name of the SDFS parameter for which normalized sensor-reference concentration pairs will be displayed along the y-axis.
met_param (str) – The name of the meteorological parameter displayed along the x-axis. The name is the SDFS parameter name associated with the meteorological parameter; for temperature, pass
'Temp', for relative humidity, pass'RH'.xlims (Two-element tuple) – The x-limits for the normalized meteorological scatterplot. Data along the x-axis are meteorological measurements (either temperature or relative humidity).
ylims (Two-element tuple) – The y-limits for the normalized meteorological scatterplot. Data along the y-axis are normalized sensor/reference concentration pairs.
serials (dict) – A dictionary of serial identifiers unique to each sensor in the deployment testing group.
depvar_df_list (list of pandas DataFrames) –
dep_var (str) – The dependent variable (y-axis) that will be displayed on the resulting figure. Either ‘normalized’, ‘diff’, or ‘absdiff’.
- Returns
- Four-element tuple containing:
xmin (float)
xmax (float)
ymin (float)
ymax (float)
- Return type
(tuple)