v3d.plotly.FigConfig#
- class visu3d.plotly.FigConfig(**kwargs)[source]#
Bases:
object
Figure configuration options.
Can be mutated globally, like:
v3d.fig_config.show_zero = False v3d.fig_config.num_samples_point3d = None # Do not subsample point display
- show_zero#
Whether to show the (0, 0, 0) origin, otherwise the plot x, y, z axis adapt to the data.
- Type:
bool
- num_samples_point3d#
Max number of
v3d.Point3d
displayed by default ( None for all)- Type:
int | None
- num_samples_point2d#
Max number of
v3d.Point2d
displayed by default ( None for all)- Type:
int | None
- cam_scale#
Scale of the cameras.
- Type:
float
- show_zero: bool = True#
- num_samples_point3d: int | None = 10000#
- num_samples_point2d: int | None = 50000#
- num_samples_ray: int | None = 500#
- cam_scale: float = 1.0#