code: def _expand_h_w(h, w, scale):
      if scale:
          h *= scale
          w *= scale
  
      # Mininum plot geom area size: 50 x 50
      h = 50 if h < 50 else h
      w = 50 if w < 50 else w
  
      # Currently plot has not customizable 10px padding on the right and the bottom
      # return h + 10, w + 10
      return h, w
  
file_path: lets-plot/python-package/lets_plot/bistro/im.py
imports: from typing import Any
  from lets_plot.plot.geom_imshow_ import geom_imshow
  from lets_plot.plot.plot import ggplot, GGBunch
  from lets_plot.plot.scale_position import scale_x_continuous, scale_y_continuous
  from lets_plot.plot.theme_ import theme
  from lets_plot.plot.util import is_ndarray
label_desc: Use image node_id 3 for calling a global function with example usage: _expand_h_w(h, w, scale) and returns: h,  w