Skip to content

Commit 49317a4

Browse files
committed
Uncomment set_autoscaley_on
1 parent 95e0f7b commit 49317a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/silx/gui/plot/backends/BackendMatplotlib.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1351,8 +1351,8 @@ def isKeepDataAspectRatio(self):
13511351
def setKeepDataAspectRatio(self, flag):
13521352
self.ax.set_aspect(1.0 if flag else "auto")
13531353
self.ax2.set_aspect(1.0 if flag else "auto")
1354-
# self.ax.set_autoscaley_on(flag)
1355-
# self.ax2.set_autoscaley_on(flag)
1354+
self.ax.set_autoscaley_on(flag)
1355+
self.ax2.set_autoscaley_on(flag)
13561356

13571357
def setGraphGrid(self, which):
13581358
self.ax.grid(False, which="both") # Disable all grid first

0 commit comments

Comments
 (0)