code: def draw_sizes(shape, size=200):
      """Get size in pixels for all dimensions"""
      mx = max(shape)
      ratios = [mx / max(0.1, d) for d in shape]
      ratios = [ratio_response(r) for r in ratios]
      return tuple(size / r for r in ratios)
  
file_path: dask/dask/array/svg.py
imports: from __future__ import annotations
  import math
  import re
  import numpy
label_desc: Use image node_id 9 for calling a global function with example usage: draw_sizes(shape, size) and returns: tuple