code: def test_only_major_dots_every():
      """Test major dots"""
      line = Line(show_only_major_dots=True, x_labels_major_every=3)
      line.add("test", range(12))
      line.x_labels = map(str, range(12))
      q = line.render_pyquery()
      assert len(q(".dots")) == 4
  
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 8 for calling a global function with example usage: test_only_major_dots_every() without return types