py3dinterpolations.plotting.plotting.plot_2d_model

py3dinterpolations.plotting.plotting.plot_2d_model(modeler: Modeler, axis: str = 'Z', plot_points: bool = False, annotate_points: bool = False, figure_width: float = 8)

plot 2d along axis

Parameters
  • modeler (Modeler) – modeler object

  • axis (str, optional) – axis along which to plot. Defaults to “Z”.

  • plot_points (bool, optional) – plot points. Defaults to False.

  • figure_width (float, optional) – figure width in inches. Less than 8 results in weird looks. Defaults to 8.

Returns

matplotlib figure

Return type

Figure

Example

>>> fig2 = plot_2d_along_axis(
>>>    model,
>>>    plot_points=True,
>>> )