Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
fix: fix setWindowTitle (closes #2)
Browse files Browse the repository at this point in the history
  • Loading branch information
EduardoJM committed Jan 2, 2024
1 parent 8fcf946 commit ca0194e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/IR_cam_interp.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ca0194e

Please sign in to comment.