summaryrefslogtreecommitdiff
path: root/silx/gui/plot/ProfileMainWindow.py
diff options
context:
space:
mode:
authorAlexandre Marie <alexandre.marie@synchrotron-soleil.fr>2020-01-30 11:47:01 +0100
committerAlexandre Marie <alexandre.marie@synchrotron-soleil.fr>2020-01-30 11:47:01 +0100
commit867a81e9d35da6d95a11deaf0deb679e58abed66 (patch)
tree5ad6620b7e0f75c12144508e4252825f0b3a7fc3 /silx/gui/plot/ProfileMainWindow.py
parent4b9a78d3afad181b195ccfe5bf7f6b7c8fb6aa50 (diff)
parent33ed2a64c92b0311ae35456c016eb284e426afc2 (diff)
Update upstream source from tag 'upstream/0.12.0+dfsg'
Update to upstream version '0.12.0+dfsg' with Debian dir 3ea2a979401866ff2d55ac0090bf496c85038fcb
Diffstat (limited to 'silx/gui/plot/ProfileMainWindow.py')
-rw-r--r--silx/gui/plot/ProfileMainWindow.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/silx/gui/plot/ProfileMainWindow.py b/silx/gui/plot/ProfileMainWindow.py
index 39830d8..aaedd1c 100644
--- a/silx/gui/plot/ProfileMainWindow.py
+++ b/silx/gui/plot/ProfileMainWindow.py
@@ -1,7 +1,7 @@
# coding: utf-8
# /*##########################################################################
#
-# Copyright (c) 2017-2018 European Synchrotron Radiation Facility
+# Copyright (c) 2017-2020 European Synchrotron Radiation Facility
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
@@ -85,6 +85,7 @@ class ProfileMainWindow(qt.QMainWindow):
self._plot2D.setParent(None) # necessary to avoid widget destruction
if self._plot1D is None:
self._plot1D = Plot1D(backend=self._backend)
+ self._plot1D.setDataMargins(yMinMargin=0.1, yMaxMargin=0.1)
self._plot1D.setGraphYLabel('Profile')
self._plot1D.setGraphXLabel('')
self.setCentralWidget(self._plot1D)