wecopttool.geom.WaveBot.plot_cross_section

WaveBot.plot_cross_section(show=False, ax=None, **kwargs)[source]

Plot hull cross-section.

Parameters:
  • show (bool) – Whether to show the figure.

  • ax (Axes | None) – Existing axes. The default is None. If None, new axes will be created.

  • **kwargs – Passed to matplotlib.pyplot.plot().

Return type:

tuple[Figure, Axes]