Skip to content

Commit

Permalink
Fix #198 (#199)
Browse files Browse the repository at this point in the history
* Fix #198

* Use the new method call `canvas.manager.set_window_title`, which seems to be available since 1.2.0 already.
  • Loading branch information
tikk3r authored May 2, 2023
1 parent 63e5585 commit ff824ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bdsf/plotresults.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def plotresults(img, ch0_image=True, rms_image=True, mean_image=True,
numx = 1
numy = int(N.ceil(float(len(images))/float(numx)))
fig = pl.figure(figsize=(max(15, 10.0*float(numy)/float(numx)), 10.0))
fig.canvas.set_window_title('PyBDSM Fit Results for '+ img.filename)
fig.canvas.manager.set_window_title('PyBDSM Fit Results for '+ img.filename)
gray_palette = cm.gray
gray_palette.set_bad('k')

Expand Down

0 comments on commit ff824ca

Please sign in to comment.