Plotter.get_default_cam_pos

Plotter.get_default_cam_pos#

Plotter.get_default_cam_pos(
*,
negative: bool = False,
) → list[tuple[float, float, float]][source]#

Return the default focal points and viewup.

Uses ResetCamera to make a useful view.

Changed in version 0.50: Every element is a tuple of floats.

Parameters:
negativebool, default: False

View from the opposite direction.

Returns:
list[tuple[float, float, float]]

List of camera position:

  • Position

  • Focal point

  • View up