import itertools

from xicam.plugins import QWidgetPlugin
# from pyqtgraph import ImageView, PlotDataItem
from xicam.core.data import NonDBHeader
from qtpy.QtWidgets import *
from qtpy.QtCore import *
from qtpy.QtGui import *
import numpy as np
from xicam.core import msg
from xicam.gui.widgets.dynimageview import DynImageView
# from xicam.gui.widgets.imageviewmixins import Crosshair, QCoordinates, CenterMarker, BetterButtons, EwaldCorrected

import pyqtgraph as pg

class EFIReducerPlugin(DynImageView, QWidgetPlugin):
    def __init__(self):
        x = np.random.random(10)
        y = np.random.random(10)
        self.plot = pg.PlotWidget()

        super(EFIReducerPlugin, self).__init__(**kwargs)
import itertools

from xicam.plugins import QWidgetPlugin
# from pyqtgraph import ImageView, PlotDataItem
from xicam.core.data import NonDBHeader
from qtpy.QtWidgets import *
from qtpy.QtCore import *
from qtpy.QtGui import *
import numpy as np
from xicam.core import msg
from xicam.gui.widgets.dynimageview import DynImageView
# from xicam.gui.widgets.imageviewmixins import Crosshair, QCoordinates, CenterMarker, BetterButtons, EwaldCorrected

import pyqtgraph as pg

class EFIReducerPlugin(DynImageView, QWidgetPlugin):
    def __init__(self):
        x = np.random.random(10)
        y = np.random.random(10)
        self.plot = pg.PlotWidget()

        super(EFIReducerPlugin, self).__init__(**kwargs)
# from pyqtgraph import ImageView, PlotDataItem # from xicam.gui.widgets.imageviewmixins import Crosshair, QCoordinates, CenterMarker, BetterButtons, EwaldCorrected