Commit 70f3b934 authored by Valentin Valls's avatar Valentin Valls

Set image origin to the top

parent ce344bdc
......@@ -67,6 +67,7 @@ class ImagePlotWidget(ExtendedDockWidget):
self.__plot.setActiveCurveStyle(linewidth=2)
self.__plot.setKeepDataAspectRatio(True)
self.__plot.setDataMargins(0.1, 0.1, 0.1, 0.1)
self.__plot.getYAxis().setInverted(True)
self.setWidget(self.__plot)
self.setFocusPolicy(qt.Qt.StrongFocus)
self.__plot.installEventFilter(self)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment