optuna.visualization.matplotlib.is_available
- optuna.visualization.matplotlib.is_available()[source]
Returns whether visualization with Matplotlib is available or not.
Note
matplotlib
module depends on Matplotlib version 3.0.0 or higher. If a supported version of Matplotlib isn’t installed in your environment, this function will returnFalse
. In such a case, please execute$ pip install -U matplotlib>=3.0.0
to install Matplotlib.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.