class_docstr: Transformed cartesian coordinate system
  
  Parameters
  ----------
  x : str | trans
      Name of transform or `trans` class to transform the x axis
  y : str | trans
      Name of transform or `trans` class to transform the y axis
  xlim : tuple[float, float]
      Limits for x axis. If None, then they are automatically computed.
  ylim : tuple[float, float]
      Limits for y axis. If None, then they are automatically computed.
  expand : bool
      If `True`, expand the coordinate axes by some factor. If `False`,
      use the limits from the data.
code: def distance(
      self,
      x: FloatSeries,
      y: FloatSeries,
      panel_params: panel_view,
  ) -> FloatArray:
      max_dist = dist_euclidean(
          panel_params.x.range, panel_params.y.range
      )[0]
      xt = self.trans_x.transform(x)
      yt = self.trans_y.transform(y)
      return dist_euclidean(xt, yt) / max_dist
  
file_path: plotnine/plotnine/coords/coord_trans.py
imports: from __future__ import annotations
  import typing
  from types import SimpleNamespace
  from warnings import warn
  from ..exceptions import PlotnineWarning
  from ..iapi import panel_ranges, panel_view
  from ..positions.position import transform_position
  from .coord import coord, dist_euclidean
label_desc: Use image node_id 5 for calling the coord_trans obj's underlying member method code with example usage: obj.distance(x, y, panel_params) and returns: unknown