Skip to content

Commit

Permalink
#221 plot shoreline vector markersize = 1
Browse files Browse the repository at this point in the history
  • Loading branch information
2320sharon committed Feb 26, 2024
1 parent 86b796f commit c108d51
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/coastsat/SDS_shoreline.py
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,7 @@ def show_detection(

# create image 1 (RGB)
ax1.imshow(im_RGB)
ax1.plot(sl_pix[:, 0], sl_pix[:, 1], "k.", markersize=3)
ax1.plot(sl_pix[:, 0], sl_pix[:, 1], "k.", markersize=1)
ax1.axis("off")
ax1.set_title(sitename, fontweight="bold", fontsize=16)

Expand All @@ -1120,7 +1120,7 @@ def show_detection(
ax2.imshow(im_class)
if masked_array is not None:
ax2.imshow(masked_array, cmap=masked_cmap, alpha=0.60)
ax2.plot(sl_pix[:, 0], sl_pix[:, 1], "k.", markersize=3)
ax2.plot(sl_pix[:, 0], sl_pix[:, 1], "k.", markersize=1)
ax2.axis("off")
orange_patch = mpatches.Patch(color=colours[0, :], label="sand")
white_patch = mpatches.Patch(color=colours[1, :], label="whitewater")
Expand All @@ -1140,7 +1140,7 @@ def show_detection(
ax3.imshow(im_mwi, cmap="bwr")
if masked_array is not None:
ax3.imshow(masked_array, cmap=masked_cmap, alpha=0.60)
ax3.plot(sl_pix[:, 0], sl_pix[:, 1], "k.", markersize=3)
ax3.plot(sl_pix[:, 0], sl_pix[:, 1], "k.", markersize=1)
ax3.axis("off")
ax3.set_title(satname, fontweight="bold", fontsize=16)

Expand Down

0 comments on commit c108d51

Please sign in to comment.