pyvista.Plotter.shape

目次

pyvista.Plotter.shape#

property Plotter.shape: tuple[int] | tuple[int, int][ソース]#

plotterの形を返します.

戻り値:
outputtuple[int] | tuple[int, int]

プロッタの形状.

プロッタの形状を返します.

>>> import pyvista as pv
>>> pl = pv.Plotter(shape=(2, 2))
>>> pl.shape
(2, 2)
>>> pl.show()
../../../_images/pyvista-Plotter-shape-0c83416fa93ed64c_00_00.png