You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: black_hole.py
+1-2
Original file line number
Diff line number
Diff line change
@@ -550,7 +550,7 @@ def gif(self, nbr_offset=1):
550
550
551
551
defplot(self):
552
552
"""Plot the black hole and connect functions to the canvas."""
553
-
self.fig=plt.figure('black hole')
553
+
self.fig=plt.figure('Black hole')
554
554
self.fig.clf() #clear the graph to avoir superposing data from the same set (can be deactivated if need to superpose)
555
555
self.ax=plt.subplot()
556
556
@@ -560,7 +560,6 @@ def plot(self):
560
560
print("No black hole deformation in the memory, displayed the original image instead.")
561
561
self.ax.imshow(self.img_debut)
562
562
563
-
self.fig.canvas.set_window_title('Black hole')
564
563
self.ax.set_title("scrool to zoom in or out \nright click to add an offset in the background \nleft click to refresh image \n close the option windows to stop the program")
0 commit comments