Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

PlotHeatmapConfig

Configuration object for controlling the aesthetics of xmris Heatmap Plots.

Modify these attributes to customize the publication-ready output.

Parameters

Figure & Canvas

ParameterTypeDefaultDescription
figsizetuple(8, 5)Dimensions of the figure (width, height).
stylestrseaborn-v0_8-whiteMatplotlib style sheet used for the underlying canvas.
fontfamilystrsans-serifFont family used for all plot text.

Colormap

ParameterTypeDefaultDescription
cmapstrmagmaMatplotlib colormap used for the 2D intensity.
cmap_startfloat0.1Lower color boundary from the colormap (0 to 1) to avoid extremes.
cmap_endfloat0.8Upper color boundary from the colormap (0 to 1) to avoid extremes.

Labels & Fonts

ParameterTypeDefaultDescription
labelsizeint12Font size applied to the axis labels.
ticklabelsizeint10Font size applied to the axis tick marks.
xlabelstr | NoneNonex-axis label. If None (default), uses the xarray dimension name.
ylabelstr | NoneNoney-axis label. If None (default), uses the stacking dimension name.

Ticks & Grid

ParameterTypeDefaultDescription
tick_colorstrlightgrayColor of the inward-facing tick marks.
tick_len_majorfloat5.0No description provided.
tick_wid_majorfloat1.0No description provided.
tick_len_minorfloat2.0No description provided.
tick_wid_minorfloat0.8No description provided.
xminor_locatorint5Number of sub-intervals between major x-axis ticks.
yminor_locatorint4Number of sub-intervals between major y-axis ticks.
grid_onboolTrueToggle the visibility of the overlay grid.
grid_colorstrlightgrayNo description provided.
grid_alphafloat0.2No description provided.
grid_linewidthfloat0.6No description provided.

Colorbar

ParameterTypeDefaultDescription
cbar_onboolTrueToggle the visibility of the colorbar.
cbar_labelstr | NoneSignal Intensity (a.u.)Label appended to the side of the colorbar.