From a8796fe1a56c41c036cb0e19cdc1f59d168172e3 Mon Sep 17 00:00:00 2001 From: Evan Harvey Date: Wed, 11 Dec 2024 16:55:50 -0700 Subject: [PATCH] Fix cv2 imports --- opencsp/common/lib/render/PlotAnnotation.py | 2 +- opencsp/common/lib/render/image_plot.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/opencsp/common/lib/render/PlotAnnotation.py b/opencsp/common/lib/render/PlotAnnotation.py index c47294a0d..33912e44d 100644 --- a/opencsp/common/lib/render/PlotAnnotation.py +++ b/opencsp/common/lib/render/PlotAnnotation.py @@ -5,7 +5,7 @@ """ -from cv2 import cv2 as cv +import cv2 as cv import matplotlib.pyplot as plt import opencsp.common.lib.render_control.RenderControlPointSeq as rcps diff --git a/opencsp/common/lib/render/image_plot.py b/opencsp/common/lib/render/image_plot.py index 311acbdb1..2a4699f2c 100644 --- a/opencsp/common/lib/render/image_plot.py +++ b/opencsp/common/lib/render/image_plot.py @@ -5,7 +5,7 @@ """ -from cv2 import cv2 as cv +import cv2 as cv import matplotlib.pyplot as plt import os