code: def test_infer_x_label(properties, label):
      assert VegaConverter.infer_x_label(properties) == label
  
file_path: dvc/tests/unit/render/test_vega_converter.py
imports: from collections import OrderedDict
  import pytest
  from dvc.exceptions import DvcException
  from dvc.render import FIELD, FILENAME, REVISION
  from dvc.render.converter.vega import FieldNotFoundError, VegaConverter, _lists
label_desc: Use image node_id 4 for calling a global function with example usage: test_infer_x_label(properties, label) without return types