Skip to content

Commit

Permalink
The import sequence wasn't working when the widget was started for te…
Browse files Browse the repository at this point in the history
…sting because the pyqtgraph import was first. Thanks @markotoplak for the help!
  • Loading branch information
borondics committed Nov 7, 2024
1 parent 49c508b commit fe4efde
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions orangecontrib/spectroscopy/widgets/owcos.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit fe4efde

Please sign in to comment.