Skip to content

Commit 8758d70

Browse files
committed
update set_window_title for matplotlib
1 parent 002231c commit 8758d70

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

benchbot_api/tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ def visualise(self, observations, step_count=None):
263263
poses_plt_num_h,
264264
projection='3d')
265265

266-
self.fig.canvas.set_window_title("Agent Observations" + (
266+
self.fig.canvas.manager.set_window_title("Agent Observations" + (
267267
"" if step_count is None else " (step # %d)" % step_count))
268268

269269
for plt_num, vis_type in enumerate(self.vis_list):

0 commit comments

Comments
 (0)