Benchmark multi-model/multi-view models.
Note
This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the gallery for the big picture.
-
mmbench.plotting.plot_mat(key, mat, ax=None, figsize=(5, 2), dpi=300, fontsize=16, fontweight='bold', title=None, vmin=None, vmax=None)[source]¶ Display a mat array.
- Parameters
key : str
the mat array identifier.
mat : array (n, n)
the mat array to display.
ax : matplotlib.axes.Axes, default None
the axes used to display the plot.
figsize : (float, float), default (5, 2)
width, height in inches.
dpi : float, default 300
the resolution of the figure in dots-per-inch.
fontsize : int or str, default 16
size in points or relative size, e.g., ‘smaller’, ‘x-large’.
fontweight : str, default ‘bold’
the font weight, e.g. ‘normal’, ‘bold’, ‘heavy’, ‘light’, ‘ultrabold’ or ‘ultralight’.
title : str, default None
the title displayed on the figure.
vmin : float, default None
minimum value on y-axis of figures.
vmax : float, default None
maximum value on y-axis of figures.
Follow us