File tree Expand file tree Collapse file tree 2 files changed +0
-25
lines changed
optuna/visualization/matplotlib Expand file tree Collapse file tree 2 files changed +0
-25
lines changed Original file line number Diff line number Diff line change 77
88from optuna ._experimental import experimental_func
99from optuna ._imports import try_import
10- from optuna .logging import get_logger
1110from optuna .study import Study
1211from optuna .trial import FrozenTrial
1312from optuna .visualization ._contour import _AxisInfo
2726 from optuna .visualization .matplotlib ._matplotlib_imports import ContourSet
2827 from optuna .visualization .matplotlib ._matplotlib_imports import plt
2928
30- _logger = get_logger (__name__ )
31-
3229
3330CONTOUR_POINT_NUM = 100
3431
@@ -48,11 +45,6 @@ def plot_contour(
4845 .. seealso::
4946 Please refer to :func:`optuna.visualization.plot_contour` for an example.
5047
51- Warnings:
52- Output figures of this Matplotlib-based
53- :func:`~optuna.visualization.matplotlib.plot_contour` function would be different from
54- those of the Plotly-based :func:`~optuna.visualization.plot_contour`.
55-
5648 Args:
5749 study:
5850 A :class:`~optuna.study.Study` object whose trials are plotted for their target values.
@@ -76,10 +68,6 @@ def plot_contour(
7668 """
7769
7870 _imports .check ()
79- _logger .warning (
80- "Output figures of this Matplotlib-based `plot_contour` function would be different from "
81- "those of the Plotly-based `plot_contour`."
82- )
8371 info = _get_contour_info (study , params , target , target_name )
8472 return _get_contour_plot (info )
8573
Original file line number Diff line number Diff line change 33from collections .abc import Callable
44
55from optuna ._experimental import experimental_func
6- from optuna .logging import get_logger
76from optuna .study import Study
87from optuna .trial import FrozenTrial
98from optuna .visualization ._rank import _get_rank_info
1918 from optuna .visualization .matplotlib ._matplotlib_imports import plt
2019
2120
22- _logger = get_logger (__name__ )
23-
24-
2521@experimental_func ("3.2.0" )
2622def plot_rank (
2723 study : Study ,
@@ -37,11 +33,6 @@ def plot_rank(
3733 .. seealso::
3834 Please refer to :func:`optuna.visualization.plot_rank` for an example.
3935
40- Warnings:
41- Output figures of this Matplotlib-based
42- :func:`~optuna.visualization.matplotlib.plot_rank` function would be different from
43- those of the Plotly-based :func:`~optuna.visualization.plot_rank`.
44-
4536 Args:
4637 study:
4738 A :class:`~optuna.study.Study` object whose trials are plotted for their target values.
@@ -61,10 +52,6 @@ def plot_rank(
6152 """
6253
6354 _imports .check ()
64- _logger .warning (
65- "Output figures of this Matplotlib-based `plot_rank` function would be different from "
66- "those of the Plotly-based `plot_rank`."
67- )
6855 info = _get_rank_info (study , params , target , target_name )
6956 return _get_rank_plot (info )
7057
You can’t perform that action at this time.
0 commit comments