def plotPref(workspace): prefLayout = QSplitter(Qt.Horizontal) workspace.xLimitValue = QLabel( "X-axis range: (-" + str(workspace.axisRange[0]) + ", " + str(workspace.axisRange[0]) + ")") workspace.yLimitValue = QLabel( "Y-axis range: (-" + str(workspace.axisRange[1]) + ", " + str(workspace.axisRange[1]) + ")") workspace.zLimitValue = QLabel( "Z-axis range: (-" + str(workspace.axisRange[2]) + ", " + str(workspace.axisRange[2]) + ")")