parameters: (provider)
docstring: Sets visualization provider for show() related calls.
  
      Args:
          provider: Visualization provider found in "interpret.provider.visualize".
docstring_summary: Sets visualization provider for show() related calls.
docstring_tokens: Sets visualization provider for show () related calls .
function: 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:
          this.visualize_provider = provider
      else:  # pragma: no cover
          raise ValueError(
              "Object of type {} is not a visualize provider.".format(type(provider))
          )
function_tokens: def set_visualize_provider ( provider ) : has_render_method = hasattr ( provider , "render" ) if provider is None or has_render_method : this . visualize_provider = provider else : # pragma: no cover raise ValueError ( "Object of type {} is not a visualize provider." . format ( type ( provider ) ) )