code: def set_visualize_provider(provider):
      """Sets visualization provider for show() related calls.
  
      Args:
          provider: Visualization provider found in "interpret.provider.visualize".
      """
      has_render_method = hasattr(provider, "render")
      if provider is None or has_render_method:
          _current_module.visualize_provider = provider
      else:  # pragma: no cover
          raise ValueError(
              "Object of type {} is not a visualize provider.".format(
                  type(provider)
              )
          )
  
file_path: interpret/python/interpret-core/interpret/visual/_interactive.py
imports: import sys
  import logging
  from ..provider import AutoVisualizeProvider, PreserveProvider, DashProvider
label_desc: Use image node_id 2 for calling a global function with example usage: set_visualize_provider(provider) without return types