pyvista.Plotter.update_scalars#
- Plotter.update_scalars(scalars, mesh=None, render: bool = True) None[ソース]#
プロッタのオブジェクトのスカラー値を更新します.
バージョン 0.43.0 で非推奨: このメソッドは非推奨であり,PyVistaの将来のバージョンで削除される予定です.機能的には,メッシュのスカラーをインプレースで直接変更するのと同等です.
# Modify the points in place mesh['my scalars'] = values # Explicitly call render if needed plotter.render()