class_docstr: Displays a regular polygon
  
  Parameters
  ----------
  center : array-like (x, y)
      Center of the regular polygon
  color : str | tuple | list of colors
      Fill color of the polygon
  border_color : str | tuple | list of colors
      Border color of the polygon
  border_width: float
      The width of the border in pixels
  radius : float
      Radius of the regular polygon
      Defaults to  0.1
  sides : int
      Number of sides of the regular polygon
code: def sides(self, sides):
      if sides < 3:
          raise ValueError(
              "PolygonVisual must have at least 3 sides, not %s" % sides
          )
      # edit using the property accessor of num_segments so this
      # internally calls the update()
      self.num_segments = sides
  
imports: from __future__ import division
  from .ellipse import EllipseVisual
label_desc: Use image node_id 3 for calling the RegularPolygonVisual obj's underlying member method code with example usage: obj.sides(sides) without return types