pyvista.set_plot_theme#
- set_plot_theme(theme)[ソース]#
文字列を使用してプリントパラメータを定義済みのテーマに設定します.
- パラメータ:
- theme
str The theme name. Available predefined theme names include:
'dark','default','document','document_build','document_pro','paraview','testing'and'vtk'.
- theme
例
デフォルトテーマを設定します.
>>> import pyvista as pv >>> pv.set_plot_theme('default')
ドキュメントテーマを設定します.
>>> pv.set_plot_theme('document')
darkテーマを設定します.
>>> pv.set_plot_theme('dark')
ParaViewテーマを設定します.
>>> pv.set_plot_theme('paraview')