code: def test_int_x_labels():
      """Test x_labels"""
      line = Line()
      line.add("test1", range(100))
      line.truncate_label = -1
      line.x_labels = list(range(11))
      q = line.render_pyquery()
      assert len(q(".dots")) == 100
      assert len(q(".axis.x")) == 1
      assert q(".axis.x text").map(texts) == [
          "0",
          "1",
          "2",
          "3",
          "4",
          "5",
          "6",
          "7",
          "8",
          "9",
          "10",
      ]
  
file_path: pygal/pygal/test/test_line.py
imports: from __future__ import division
  from math import cos, sin
  from pygal import Line
  from pygal.test.utils import texts
label_desc: Use image node_id 7 for calling a global function with example usage: test_int_x_labels() without return types