From b12687f56f98d3a055c6c8309eb05979cb015f9c Mon Sep 17 00:00:00 2001 From: Evan Harvey Date: Tue, 12 Nov 2024 13:51:59 -0700 Subject: [PATCH] opencsp/common/lib/cv/annotations: test docs --- opencsp/common/lib/cv/annotations/HotspotAnnotation.py | 3 +++ opencsp/common/lib/cv/annotations/PointAnnotations.py | 2 ++ 2 files changed, 5 insertions(+) diff --git a/opencsp/common/lib/cv/annotations/HotspotAnnotation.py b/opencsp/common/lib/cv/annotations/HotspotAnnotation.py index f9b0a9601..41d8f3109 100644 --- a/opencsp/common/lib/cv/annotations/HotspotAnnotation.py +++ b/opencsp/common/lib/cv/annotations/HotspotAnnotation.py @@ -18,6 +18,8 @@ class HotspotAnnotation(PointAnnotations): The point location of the hotspot annotation. """ + # "ChatGPT 4o" assisted with generating this docstring. + def __init__(self, style: rcps.RenderControlPointSeq = None, point: p2.Pxy = None): """ A class representing a hotspot annotation in a graphical context. @@ -45,6 +47,7 @@ def __init__(self, style: rcps.RenderControlPointSeq = None, point: p2.Pxy = Non >>> print(hotspot_with_point.point) Pxy(10, 20) """ + # "ChatGPT 4o" assisted with generating this docstring. if style is None: style = rcps.RenderControlPointSeq(color='blue', marker='x', markersize=1) super().__init__(style, point) diff --git a/opencsp/common/lib/cv/annotations/PointAnnotations.py b/opencsp/common/lib/cv/annotations/PointAnnotations.py index d8277360f..9341b5503 100644 --- a/opencsp/common/lib/cv/annotations/PointAnnotations.py +++ b/opencsp/common/lib/cv/annotations/PointAnnotations.py @@ -16,4 +16,6 @@ class PointAnnotations(pf.PointFiducials, AbstractAnnotations): AbstractAnnotations : Provides an abstract base for annotation classes. """ + # "ChatGPT 4o" assisted with generating this docstring. + pass