Commit 2e62468b authored by EPINAT Benoit's avatar EPINAT Benoit

print removed

parent 3e8282be
......@@ -537,7 +537,7 @@ class MainWindow(QMainWindow, Ui_PyQubeVis):
#XXX ICI
#XXX Option pour ne pas afficher de profil même si un cube a été chargé (ou alors pas les bonnes dimensions)
# Do not update the spectrum if we reach an all-nan-slice or if the cube depth is only 1
print(self.argfiles['data'][self.numcube - 1][:, np.int32(min(y, self.argfiles['sy'][self.numcube - 1])), np.int32(min(x, self.argfiles['sx'][self.numcube - 1]))])
#print(self.argfiles['data'][self.numcube - 1][:, np.int32(min(y, self.argfiles['sy'][self.numcube - 1])), np.int32(min(x, self.argfiles['sx'][self.numcube - 1]))])
if not np.isnan(minip) and not np.isnan(maxip) and minip != maxip:
self.line.set_ydata(self.argfiles['data'][self.numcube - 1][:, np.int32(min(y, self.argfiles['sy'][self.numcube - 1])), np.int32(min(x, self.argfiles['sx'][self.numcube - 1]))])
self.profileWidgetDisplay.canvas.ax.axis([0, self.argfiles['sz'][self.numcube-1], minip, maxip])
......
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