opytimizer.visualization.surface

3-D benchmarking functions plots.

opytimizer.visualization.surface.plot(points: numpy.ndarray, title: Optional[str] = '', subtitle: Optional[str] = '', style: Optional[str] = 'winter', colorbar: Optional[bool] = True) → None

Plots the surface from a 3-dimensional function.

Parameters:
  • points – Points to be plotted with shape equal to (3, n, n).
  • title – Title of the plot.
  • subtitle – Subtitle of the plot.
  • style – Surface’s style.
  • colorbar – If colorbar should be used or not.