class_docstr: WhatIfToolPlugin factory.
  This class checks for `tensorflow` install and dependency.
docstr: Returns the plugin, if possible.
  Args:
    context: The TBContext flags.
  Returns:
    A WhatIfToolPlugin instance or None if it couldn't be loaded.
docstr_tok: ["Returns","the","plugin",",","if","possible",".","Args",":","context",":","The","TBContext","flags",".","Returns",":","A","WhatIfToolPlugin","instance","or","None","if","it","could","n't","be","loaded","."]
code: def load(self, context):
      """Returns the plugin, if possible.
      Args:
        context: The TBContext flags.
      Returns:
        A WhatIfToolPlugin instance or None if it couldn't be loaded.
      """
      try:
          # pylint: disable=unused-import
          import tensorflow
      except ImportError:
          return
  
      # If TB version is before 2.2.0, then do not load the WIT plugin
      # as it is already included directly in TensorBoard.
      version = pkg_resources.parse_version(tensorboard.__version__)
      if version < _MIN_TENSORBOARD_VERSION:
          return None
  
      from tensorboard_plugin_wit.wit_plugin import WhatIfToolPlugin
  
      return WhatIfToolPlugin(context)
  
file_path: what-if-tool/tensorboard_plugin_wit/wit_plugin_loader.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import argparse
  import pkg_resources
  import tensorboard
  from tensorboard.plugins import base_plugin
label_desc: Use image node_id 1 for calling the WhatIfToolPluginLoader obj's underlying member method code with example usage: obj.load(context) and returns: WhatIfToolPlugin, None