From ca0194efef7817b3c7ba47fafef7c3bcfab01b1a Mon Sep 17 00:00:00 2001 From: Eduardo Oliveira Date: Tue, 2 Jan 2024 12:59:10 -0300 Subject: [PATCH] fix: fix setWindowTitle (closes #2) --- examples/IR_cam_interp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/IR_cam_interp.py b/examples/IR_cam_interp.py index c6f51a0..372a5fb 100644 --- a/examples/IR_cam_interp.py +++ b/examples/IR_cam_interp.py @@ -65,7 +65,7 @@ def interp(z_var): plt.rcParams.update({'font.size':16}) fig_dims = (10,9) # figure size fig,ax = plt.subplots(figsize=fig_dims) # start figure -fig.canvas.set_window_title('AMG8833 Image Interpolation') +fig.canvas.setWindowTitle('AMG8833 Image Interpolation') im1 = ax.imshow(grid_z,vmin=18,vmax=37,cmap=plt.cm.RdBu_r) # plot image, with temperature bounds cbar = fig.colorbar(im1,fraction=0.0475,pad=0.03) # colorbar cbar.set_label('Temperature [C]',labelpad=10) # temp. label