docstr: If the logo is set then add it to the chart image.
docstr_tok: ["If","the","logo","is","set","then","add","it","to","the","chart","image","."]
code: def _add_logo_to_image(self, image):
      """If the logo is set then add it to the chart image."""
      if self._logo_image is None:
          return image
  
      x_dim = image.getbbox()[2]
      width = self._logo_image.getbbox()[2]
      padding = 10
      coords = (x_dim - width - padding, 0 + padding)
      image.paste(self._logo_image, coords, self._logo_image)
      return 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 2 for calling the Logo obj's underlying member method code with example usage: obj._add_logo_to_image(image) and returns: image, image