code: def transform_value(
      trans: Trans, value: TFloatArrayLike, range: TupleFloat2
  ) -> TFloatArrayLike:
      """
      Transform value
      """
      return trans.transform(value)
  
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 1 for calling a global function with example usage: transform_value(trans, value, range) and returns: trans