Skip to content

Commit 65713b1

Browse files
authored
Merge pull request #5 from gasperkrivic/main
Added title and graph labels to the plot.
2 parents 5cd02b0 + a97dde8 commit 65713b1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

opensd_project/visualize.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ def show_reference_image(images, points=[], roi_size=None, bit_depth=12):
2323
plt.colorbar()
2424
if points:
2525
ax.scatter(np.array(points)[:, 1], np.array(points)[:, 0], marker='.', color='b')
26+
ax.set_title('Reference image with selected points')
27+
ax.set_xlabel('x^2')
28+
ax.set_ylabel('y**2')
2629

2730
if roi_size is not None:
2831
for point in np.array(points):

0 commit comments

Comments
 (0)