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_curve(xticks, mat, ax=None, figsize=(5, 2), dpi=300, fontsize=16, fontweight='bold', title=None)[source]¶ Display a list of curve.
- Parameters
xticks : list
the list of xtick locations.
mat : array (n_curve, n_points)
the matrix containing the points of the curves.
ax : matplotlib.axes.Axes, default None
the axis 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.
Follow us