def activate_interactive_df(geo_model: Project, plot_object=None): """Experimental: Activate the use of the QgridProjectIntegration: TODO evaluate the use of this functionality Notes: Since this feature is for advance levels we will keep only object oriented functionality. Should we add in the future, TODO: copy docstrings to QgridModelIntegration :param geo_model: [s0] :param plot_object: GemPy plot object (so far only vtk is available) Args: geo_model (Project): plot_object: Returns: :class:`QgridModelIntegration` """ try: from gempy.core.qgrid_integration import QgridModelIntegration except ImportError: raise ImportError( 'qgrid package is not installed. No interactive dataframes available.' ) geo_model.qi = QgridModelIntegration(geo_model, plot_object) return geo_model.qi
def activate_interactive_df(geo_model: Model, plot_object=None): """ TODO evaluate the use of this functionality Notes: Since this feature is for advance levels we will keep only object oriented functionality. Should we add in the future, TODO: copy docstrings to QgridModelIntegration Args: geo_model: vtk_object: Returns: """ try: from gempy.core.qgrid_integration import QgridModelIntegration except ImportError: raise ImportError( 'qgrid package is not installed. No interactive dataframes available.' ) geo_model.qi = QgridModelIntegration(geo_model, plot_object) return geo_model.qi