code: def test_only_major_dots_no_labels():
      """Test major dots with no labels"""
      line = Line(show_only_major_dots=True)
      line.add("test", range(12))
      q = line.render_pyquery()
      assert len(q(".dots")) == 12
  
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 9 for calling a global function with example usage: test_only_major_dots_no_labels() without return types