class_docstr: Create object used for visualizing graph using Pyvis library.
class_docstr_tok: ["Create","object","used","for","visualizing","graph","using","Pyvis","library","."]
docstr: Import modules needed for visualization.
docstr_tok: ["Import","modules","needed","for","visualization","."]
code: def _import_visual_modules(self):
      """Import modules needed for visualization."""
      get_module("pyvis")
      from pyvis.network import Network
      from pyvis.options import Options
      from IPython.display import IFrame
  
      get_module("bs4")
      from bs4 import BeautifulSoup
  
      return Network, Options, IFrame, BeautifulSoup
  
imports: from __future__ import absolute_import
  from datetime import datetime
  from enum import Enum
  from typing import Any, Optional, Union, List, Dict
  from json import dumps
  from re import sub, search
  from sagemaker.utils import get_module
  from sagemaker.lineage._utils import get_resource_name_from_arn
label_desc: Use image node_id 2 for calling the PyvisVisualizer obj's underlying member method code with example usage: obj._import_visual_modules() and returns: Network,  Options,  IFrame,  BeautifulSoup