plot_objective#
- ExplorationDiagnostics.plot_objective(objective=None, fidelity_parameter=None, show_trace=False, use_time_axis=False, relative_start_time=True, subplot_spec=None, **figure_kw)#
Plot the values that where reached during the optimization.
- Parameters:
- objectivestr, optional
Objective, or name of the objective to plot. If None, the first objective of the exploration is shown.
- fidelity_parameter: str, optional
Name of the fidelity parameter. If given, the different fidelity will be plotted in different colors.
- show_tracebool, optional
Whether to show the cumulative maximum or minimum of the objective.
- use_time_axisbool, optional
Whether the x axis should be the time at which the evaluations were completed, instead of the evaluation index.
- relative_start_timebool, optional
Whether the time axis should be relative to the start time of the exploration. By default, True.
- subplot_spec: SubplotSpec, optional
The location of the plot in the GridSpec of an existing figure. If not given, a new figure will be created.
- **figure_kw
Additional keyword arguments to pass to pyplot.figure. Only used if no
subplot_specis given.