code: def translate_layout_keys(t):
      xr, yr = t
      xr = xr.replace("axis", "")
      yr = yr.replace("axis", "")
      return (xr, yr)
  
file_path: plotly.py/packages/python/plotly/plotly/tests/test_core/test_subplots/test_find_nonempty_subplots.py
imports: import pytest
  import plotly.graph_objects
  from plotly.subplots import make_subplots
  from itertools import combinations, product
  from functools import reduce
label_desc: Use image node_id 2 for calling a global function with example usage: translate_layout_keys(t) and returns: xr,  yr