FIX line drawing offset bug.

chiebot
YuAng 4 years ago
parent a0cf1fcebb
commit 348ad897d4
  1. 26
      notebooks/demo_single_pair.ipynb
  2. 1
      src/utils/plotting.py

File diff suppressed because one or more lines are too long

@ -33,7 +33,6 @@ def make_matching_figure(img0, img1, mkpts0, mkpts1, color, text=[], path=None):
fig.text( fig.text(
0.01, 0.99, '\n'.join(text), transform=fig.axes[0].transAxes, 0.01, 0.99, '\n'.join(text), transform=fig.axes[0].transAxes,
fontsize=15, va='top', ha='left', color=txt_color) fontsize=15, va='top', ha='left', color=txt_color)
plt.tight_layout(pad=1)
# save or return figure # save or return figure
if path: if path:

Loading…
Cancel
Save