Skip to content

Commit 9528035

Browse files
remove useless title line
1 parent fd7cfc4 commit 9528035

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: black_hole.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ def gif(self, nbr_offset=1):
550550

551551
def plot(self):
552552
"""Plot the black hole and connect functions to the canvas."""
553-
self.fig = plt.figure('black hole')
553+
self.fig = plt.figure('Black hole')
554554
self.fig.clf() #clear the graph to avoir superposing data from the same set (can be deactivated if need to superpose)
555555
self.ax = plt.subplot()
556556

@@ -560,7 +560,6 @@ def plot(self):
560560
print("No black hole deformation in the memory, displayed the original image instead.")
561561
self.ax.imshow(self.img_debut)
562562

563-
self.fig.canvas.set_window_title('Black hole')
564563
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")
565564
self.fig.canvas.mpl_connect('scroll_event', self.onscroll)
566565
self.fig.canvas.mpl_connect('button_press_event', self.onclick)

0 commit comments

Comments
 (0)