Skip to content

Commit 6181a1f

Browse files
authored
Merge pull request #40 from mit-acl/fix/no-gt-result-viz
Fix title setting for associations plot
2 parents 1c30300 + 143e88a commit 6181a1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roman/align/results.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def plot_align_results(results: SubmapAlignResults, dpi=500):
6262
ax = np.array(ax).reshape(-1, 1)
6363
mp = ax[0, 0].imshow(results.clipper_num_associations, cmap='viridis', vmin=0)
6464
fig.colorbar(mp, fraction=0.04, pad=0.04)
65-
ax.set_title("Number of Associations")
65+
ax[0, 0].set_title("Number of Associations")
6666

6767
if show_sim:
6868
mp = ax[1, 0].imshow(results.similarity_mat, cmap='viridis', vmin=0.0, vmax=1.0)
@@ -270,4 +270,4 @@ def submaps_from_align_results(results: SubmapAlignResults, gt_paths: Tuple[str,
270270

271271
submaps = [submaps_from_roman_map(
272272
roman_maps[i], submap_params, gt_pose_data[i]) for i in range(2)]
273-
return submaps
273+
return submaps

0 commit comments

Comments
 (0)