Skip to content

Commit

Permalink
None means the default, which is antialiasing
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjstewart committed May 27, 2023
1 parent 38e64d4 commit 0dff7ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions torchgeo/datasets/dfc2022.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,13 +336,13 @@ def plot(
axs[1].imshow(dem)
axs[1].axis("off")
if showing_mask:
axs[2].imshow(mask, cmap=cmap, interpolation=None)
axs[2].imshow(mask, cmap=cmap, interpolation="none")
axs[2].axis("off")
if showing_prediction:
axs[3].imshow(pred, cmap=cmap, interpolation=None)
axs[3].imshow(pred, cmap=cmap, interpolation="none")
axs[3].axis("off")
elif showing_prediction:
axs[2].imshow(pred, cmap=cmap, interpolation=None)
axs[2].imshow(pred, cmap=cmap, interpolation="none")
axs[2].axis("off")

if show_titles:
Expand Down

0 comments on commit 0dff7ea

Please sign in to comment.