code: def _squares(self):
      n_series_ = len(self.series)
      i = 2
  
      if sqrt(n_series_).is_integer():
          _x = int(sqrt(n_series_))
          _y = int(sqrt(n_series_))
      else:
          while i * i < n_series_:
              while n_series_ % i == 0:
                  n_series_ = n_series_ / i
              i = i + 1
          _y = int(n_series_)
          _x = int(len(self.series) / _y)
          if len(self.series) == 5:
              _x, _y = 2, 3
          if abs(_x - _y) > 2:
              _sq = 3
              while (_x * _y) - 1 < len(self.series):
                  _x, _y = _sq, _sq
                  _sq += 1
      return (_x, _y)
  
file_path: pygal/pygal/graph/solidgauge.py
imports: from math import pi, sqrt
  from pygal.graph.graph import Graph
  from pygal.util import alter, decorate
label_desc: Use image node_id 5 for calling the SolidGauge obj's underlying member method code with example usage: obj._squares() and returns: _x,  _y