Skip to content

Commit

Permalink
Merge branch 'plotCDL' of github.com:nilsleh/torchgeo into plotCDL
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsleh committed Feb 28, 2022
2 parents cd9c87b + aa4a42b commit 05273e4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions torchgeo/datasets/cdl.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@

import glob
import os
from typing import Any, Callable, Dict, Optional, Tuple
from typing import Any, Callable, Dict, Optional

import matplotlib.pyplot as plt
import numpy as np
from rasterio.crs import CRS
from torch import Tensor

from .geo import RasterDataset
from .utils import download_url, extract_archive
Expand Down Expand Up @@ -401,7 +400,7 @@ def _extract(self) -> None:

def plot( # type: ignore[override]
self,
sample: Dict[str, Tensor],
sample: Dict[str, Any],
show_titles: bool = True,
suptitle: Optional[str] = None,
) -> plt.Figure:
Expand Down

0 comments on commit 05273e4

Please sign in to comment.