Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion physics/n_body_simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def plot(
No doctest provided since this function does not have a return value.
"""
fig = plt.figure()
fig.canvas.set_window_title(title)
fig.canvas.manager.set_window_title(title)
ax = plt.axes(
xlim=(x_start, x_end), ylim=(y_start, y_end)
) # Set section to be plotted
Expand Down