code: def __get_position_scales(chart_height, chart_width):
      """Computes the scales for x and y encodings to be used in the xy metrics chart."""
  
      position_scales = dict()
  
      # X-Y RANGES (based on chart dimensions)
      x_range = get_chart_size_range(chart_width, XY_Chart.padding_x)
      y_range = get_chart_size_range(chart_height, XY_Chart.padding_y)
      y_range.reverse()
  
      # METRICS SCALES
      metric_domain = [0, 1]
      position_scales["x"] = alt.Scale(
          domain=metric_domain, range=x_range
      )
      position_scales["y"] = alt.Scale(
          domain=metric_domain, range=y_range
      )
  
      return position_scales
  
file_path: aequitas/src/aequitas/plot/xy_metrics_chart.py
imports: import altair
  import pandas
  from aequitas.plot.commons.helpers import no_axis, get_chart_metadata
  from aequitas.plot.commons.legend import draw_legend
  from aequitas.plot.commons.scales import get_chart_size_range
  from aequitas.plot.commons.tooltips import get_tooltip_text_group_size
  from aequitas.plot.commons.style.classes import Threshold_Band, Threshold_Rule, Rule, Bubble, Scatter_Axis, Chart_Title, Axis
  from aequitas.plot.commons.style.text import FONT
  from aequitas.plot.commons.style.sizes import XY_Chart
  from aequitas.plot.commons import initializers
  from aequitas.plot.commons import validators
  from aequitas.plot.commons import labels
label_desc: Use image node_id 1 for calling a global function with example usage: __get_position_scales(chart_height, chart_width) and returns: position_scales