Skip to content

Commit

Permalink
Update cdl.py
Browse files Browse the repository at this point in the history
  • Loading branch information
calebrob6 authored and nilsleh committed Feb 28, 2022
1 parent 9e03b62 commit cd9c87b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions torchgeo/datasets/cdl.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,8 +416,8 @@ def plot( # type: ignore[override]
a matplotlib Figure with the rendered sample
.. versionchanged:: 0.3
Method now takes a sample dict, not a Tensor. Additionally, it is possible to
show subplot titles and/or use a custom suptitle.
Method now takes a sample dict, not a Tensor. Additionally, it is possible
to show subplot titles and/or use a custom suptitle.
"""
mask = sample["mask"].squeeze().numpy()
ncols = 1
Expand Down

0 comments on commit cd9c87b

Please sign in to comment.