Commit d5e8f28c authored by payno's avatar payno

[gui][MapViewer] set default colormap to temperature and keep aspect ratio

parent 03d83988
......@@ -38,6 +38,7 @@ from silx.gui.plot.StackView import StackViewMainWindow
from silx.utils.enum import Enum
from silx.gui.widgets.FrameBrowser import HorizontalSliderWithBrowser
from silx.gui import icons as silx_icons
from silx.gui.colors import Colormap
class ViewType(Enum):
......@@ -127,7 +128,10 @@ class XasObjectViewer(qt.QMainWindow):
class MapViewer(StackViewMainWindow):
def __init__(self, parent=None):
StackViewMainWindow.__init__(self, parent=parent)
class _ExtendedSliderWithBrowser(HorizontalSliderWithBrowser):
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