Skip to content

Commit

Permalink
Merge pull request #297 from robomics/cooler-show-bugfix
Browse files Browse the repository at this point in the history
Update cooler show to work with matplotlib 3.6+
  • Loading branch information
nvictus committed Jan 11, 2023
2 parents bfaa993 + 6dad22a commit eb7522f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cooler/cli/show.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def show(
sys.exit(1)

plt.figure(figsize=(11, 10))
plt.gcf().canvas.set_window_title("Contact matrix".format())
plt.get_current_fig_manager().set_window_title("Contact matrix".format())
plt.title("")
plt.imshow(
load_matrix(c, row_region, col_region, field, balanced, scale),
Expand Down

0 comments on commit eb7522f

Please sign in to comment.