Right now, there's no way of specifying absolute dimensions i.e. units. This should be fairly straightforward according the SVG spec; see, e.g.:
Perhaps a simple way of incorporating this feature would be to add a new argument / member variable units="" to Drawing.__init__, then updating:
width=f"{img_width}{self.units}", height=f"img_height}{self.units}",
Right now, there's no way of specifying absolute dimensions i.e. units. This should be fairly straightforward according the SVG spec; see, e.g.:
Perhaps a simple way of incorporating this feature would be to add a new argument / member variable
units=""toDrawing.__init__, then updating:drawsvg/drawsvg/drawing.py
Line 243 in 2ab4c53
to: