Plotting

Plotting testing support module

Plotting testing support module providing defaults, functions and mocks.

orion.testing.plotting.assert_durations_plot(plot, names)[source]

Checks the layout of a regrets plot

orion.testing.plotting.assert_lpi_plot(plot, dims)[source]

Checks the layout of a LPI plot

orion.testing.plotting.assert_parallel_coordinates_plot(plot, order)[source]

Checks the layout of a parallel coordinates plot

orion.testing.plotting.assert_partial_dependencies_plot(plot, dims, custom_colorscale=False, smoothing=0.85, n_grid_points=5, n_samples=4, log_dims=None)[source]

Checks the layout of a partial dependencies plot

orion.testing.plotting.assert_rankings_plot(plot, names, balanced=10, with_avg=False)[source]

Checks the layout of a rankings plot

orion.testing.plotting.assert_regret_plot(plot)[source]

Checks the layout of a regret plot

orion.testing.plotting.assert_regrets_plot(plot, names, balanced=10, with_avg=False)[source]

Checks the layout of a regrets plot