optuna.visualization.matplotlib.plot_slice

optuna.visualization.matplotlib.plot_slice(study: optuna.study.Study, params: Optional[List[str]] = None) → matplotlib.axes._axes.Axes[source]

Plot the parameter relationship as slice plot in a study with Matplotlib.

See also

Please refer to optuna.visualization.plot_slice() for an example.

Parameters
  • study – A Study object whose trials are plotted for their objective values.

  • params – Parameter list to visualize. The default is all parameters.

Returns

A matplotlib.axes.Axes object.

Note

Added in v2.2.0 as an experimental feature. The interface may change in newer versions without prior notice. See https://github.com/optuna/optuna/releases/tag/v2.2.0.