code: def set_viewbox(self, x, y, w, h):
          
          self.attributes['viewBox'] = "%s %s %s %s" % (x, y, w, h)
          self.attributes['preserveAspectRatio'] = 'none'
docs: Sets the origin and size of the viewbox, describing a virtual view area.
  
          Args:
              x (int): x coordinate of the viewbox origin
              y (int): y coordinate of the viewbox origin
              w (int): width of the viewbox
              h (int): height of the viewbox