Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docs/source/how_to/how_to_slice_plot.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,17 @@
"fig.show()"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
":::{note}\n",
"\n",
"For details on using other plotting backends, see [How to change the plotting backend](how_to_change_plotting_backend.ipynb).\n",
"\n",
":::"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down
9 changes: 9 additions & 0 deletions src/optimagic/deprecations.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,15 @@ def throw_none_valued_batch_evaluator_warning():
warnings.warn(msg, FutureWarning)


def throw_make_subplot_kwargs_in_slice_plot_future_warning():
msg = (
"The `make_subplot_kwargs` argument in `slice_plot` is deprecated and will be "
"removed in optimagic version 0.6.0. Customization of the subplots can be done "
"by modifying the returned figure."
)
warnings.warn(msg, FutureWarning)


def replace_and_warn_about_deprecated_algo_options(algo_options):
if not isinstance(algo_options, dict):
return algo_options
Expand Down
Loading
Loading