FormPlotter.draw_points

FormPlotter.draw_points(points)[source]

Draws points on a 2D plot.

Parameters

points (list of dict) – List of dictionaries containing the point properties. Each point is represented by a circle with a given radius. The following properties of the circle can be specified in the point dict.

  • pos (list): XY(Z) coordinates

  • radius (float, optional): the radius of the circle. Default is 0.1.

  • text (str, optional): the text of the label. Default is None.

  • facecolor (rgb or hex color, optional): The color of the face of the circle. Default is white.

  • edgecolor (rgb or hex color, optional): The color of the edge of the cicrle. Default is black.

  • edgewidth (float, optional): The width of the edge of the circle. Default is 1.0.

  • textcolor (rgb or hex color, optional): Color of the text label. Default is black.

  • fontsize (int, optional): Font size of the text label. Default is 12.

Returns

object – The matplotlib point collection object.