From fe4efde2a1fe022f08122d53fa286688602aa329 Mon Sep 17 00:00:00 2001 From: "borondics.accounts@gmail.com" Date: Thu, 7 Nov 2024 16:57:38 +0100 Subject: [PATCH] The import sequence wasn't working when the widget was started for testing because the pyqtgraph import was first. Thanks @markotoplak for the help! --- orangecontrib/spectroscopy/widgets/owcos.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/orangecontrib/spectroscopy/widgets/owcos.py b/orangecontrib/spectroscopy/widgets/owcos.py index 238ede988..132756c70 100644 --- a/orangecontrib/spectroscopy/widgets/owcos.py +++ b/orangecontrib/spectroscopy/widgets/owcos.py @@ -1,20 +1,16 @@ import numpy as np import pyqtgraph as pg import colorcet -from typing import Optional, Union +from AnyQt.QtCore import QRectF, Qt from pyqtgraph import LabelItem import Orange.data -from Orange.data import Table, Variable from Orange.widgets.visualize.utils.customizableplot import CommonParameterSetter, Updater from Orange.widgets.visualize.utils.plotutils import PlotItem, GraphicsView, AxisItem from Orange.widgets.widget import OWWidget, Msg, Input, Output -# from Orange.widgets.utils.concurrent import TaskState, ConcurrentWidgetMixin from Orange.widgets import gui, settings -from AnyQt.QtCore import QRectF, Qt - from orangewidget.utils import saveplot from orangewidget.utils.visual_settings_dlg import VisualSettingsDialog from orangecontrib.spectroscopy.data import getx