code: def __draw_tick_labels(scales, chart_height, chart_width):
      """Draws the numbers in both axes."""
  
      axis_values = [0, 0.25, 0.5, 0.75, 1]
      axis_df = pd.DataFrame(
          {"main_axis_values": axis_values, "aux_axis_position": 0}
      )
  
      x_labels_align_expr = f"datum.main_axis_values === {axis_values[0]} ? 'left' : datum.main_axis_values === {axis_values[-1]} ? 'right' : 'center'"
  
      x_tick_labels = (
          alt.Chart(axis_df)
          .mark_text(
              baseline="top",
              yOffset=Scatter_Axis.offset,
              tooltip=None,
              align={"expr": x_labels_align_expr},
              fontSize=Scatter_Axis.label_font_size,
              fontWeight=Scatter_Axis.label_font_weight,
              font=FONT,
              color=Scatter_Axis.label_color,
          )
          .encode(
              text=alt.Text("main_axis_values:Q"),
              x=alt.X(
                  "main_axis_values:Q",
                  scale=scales["x"],
                  axis=no_axis(),
              ),
              y=alt.Y(
                  "aux_axis_position:Q",
                  scale=scales["y"],
                  axis=no_axis(),
              ),
          )
      )
  
      y_tick_labels = (
          alt.Chart(axis_df)
          .mark_text(
              baseline="middle",
              xOffset=-Scatter_Axis.offset,
              tooltip=None,
              align="right",
              fontSize=Scatter_Axis.label_font_size,
              fontWeight=Scatter_Axis.label_font_weight,
              font=FONT,
              color=Scatter_Axis.label_color,
          )
          .encode(
              text=alt.Text("main_axis_values:Q"),
              x=alt.X(
                  "aux_axis_position:Q",
                  scale=scales["x"],
                  axis=no_axis(),
              ),
              y=alt.Y(
                  "main_axis_values:Q",
                  scale=scales["y"],
                  axis=no_axis(),
              ),
          )
      )
  
      return x_tick_labels + y_tick_labels
  
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 3 for calling a global function with example usage: __draw_tick_labels(scales, chart_height, chart_width) and returns: unknown