mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-27 15:01:08 +00:00
Quick fix: fig.canvas.set_window_title deprecated (#8961)
Co-authored-by: homsim <simon@simon-ThinkPadE460.fritz.box>
This commit is contained in:
parent
bfed2fb788
commit
5c276a8377
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user