metobs_toolkit.station.Station.make_plot_of_modeldata#
- Station.make_plot_of_modeldata(obstype: str = 'temp', linecolor: str | None = None, title: str | None = None, linestyle: str = '--', ax: Axes | None = None, figkwargs: dict = {}) Axes[source]#
Generate a time series plot of model data for a specific observation type.
- Parameters:
obstype (str, optional) – The type of observation to plot model data for, by default “temp”.
linecolor (str or None, optional) – The color of the line in the plot. If None, a default color map is used.
title (str or None, optional) – The title of the plot. If None, a default title is generated, by default None.
linestyle (str, optional) – The style of the line in the plot, by default “–“.
ax (matplotlib.axes.Axes, optional) – The axes on which to plot. If None, a new axes object is created.
figkwargs (dict, optional) – Additional keyword arguments passed to matplotlib.pyplot.subplots(), by default an empty dictionary.
- Returns:
The axes object containing the plot.
- Return type:
matplotlib.axes.Axes