docstr: Add logo to the chart.
  
  Notes:
      Use .show_logo_options() to see available logos.
      Logo will only appear when .show('png') is used.
docstr_tok: ["Add","logo","to","the","chart",".","Notes",":","Use",".show_logo_options","(",")","to","see","available","logos",".","Logo","will","only","appear","when",".show","(","'png","'",")","is","used","."]
code: def set_logo(self, logo=None):
      """Add logo to the chart.
  
      Notes:
          Use .show_logo_options() to see available logos.
          Logo will only appear when .show('png') is used.
      """
      try:
          filename = self._logo_file_mapping[logo]
      except KeyError:
          raise KeyError(
              "Must supply a valid logo name: {valid_options}".format(
                  valid_options=list(self._logo_file_mapping.keys())
              )
          )
  
      logo_image = Image.open(self._path + filename)
  
      logo_image = self._resize_logo(logo_image)
  
      self._logo_image = logo_image
  
imports: from collections import OrderedDict
  from functools import wraps
  import io
  from io import BytesIO
  import tempfile
  import warnings
  import bokeh
  from bokeh.io.export import _SVG_SCRIPT, wait_until_render_complete
  import bokeh.plotting
  from bokeh.embed import file_html
  from bokeh.resources import INLINE
  from IPython.display import display
  from PIL import Image
  from PIL.Image import Resampling
  from selenium import webdriver
  from selenium.webdriver.chrome.options import Options
  from chartify._core.style import Style
  from chartify._core.axes import BaseAxes, SecondYNumericalAxis, SecondAxis
  from chartify._core.plot import BasePlot
  from chartify._core.callout import Callout
  from chartify._core.options import options
label_desc: Use image node_id 5 for calling the Logo obj's underlying member method code with example usage: obj.set_logo(logo) without return types