reservoirflow.utils.pyvista.decide_widget#

reservoirflow.utils.pyvista.decide_widget(static: bool, notebook: bool) bool#

Decide to add widget or not.

Parameters:
  • static (bool) – show as a static image in a jupyter notebook. This argument is ignored when notebook argument is set to False. True value is used to render images for the documentation.

  • notebook (bool) – show plot is placed inline a jupyter notebook. If False, then an interactive window will be opened outside of jupyter notebook.

Returns:

add widget bool.

Return type:

bool