vert_stacked_exp_plot¶
-
nawdex_analysis.plot.stacked_analysis_plots.vert_stacked_exp_plot(dset, vname, var_err=None, idlist='all', catlist='all', iddim='idname', catdim='ct', obsref_name='msevi-scaled', doffset=0.05, offset0=-0.4, connect2obs=True, make_labels=True)¶ A generic function that makes a colorful plot with categories stacked in the vertical. In each category, the different IDs are also stacked.
Parameters: - dset (xarray Dataset) – dataset object containing variables for different IDs and categories
- vname (str) – variable to be plotted
- var_err (xarray Dataset) – dataset containing error information to be plotted (having similar dimensions as dset)
- idlist (list, optional, default = 'all') – list of IDnames to be stacked and compared if ‘all’: all IDs will be used
- catlist (list, optional, default = 'all') – list of categories to be stacked and compared if ‘all’: all categories will be used
- iddim (str, optional, default = 'idname') – name of the dimension that contains IDnames
- catdim (str, optional, default = 'idname') – name of the dimension that contains category names
Returns: ax – axis instance which contains the plot
Return type: pylab axis object