Skip to content

Commit

Permalink
add type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
leifdenby committed Nov 29, 2024
1 parent c1f706c commit cf8e3e4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions neural_lam/vis.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import matplotlib
import matplotlib.pyplot as plt
import numpy as np
import xarray as xr

# Local
from . import utils
Expand Down Expand Up @@ -66,8 +67,8 @@ def plot_error_map(errors, datastore: BaseRegularGridDatastore, title=None):
@matplotlib.rc_context(utils.fractional_plot_bundle(1))
def plot_prediction(
datastore: BaseRegularGridDatastore,
da_prediction=None,
da_target=None,
da_prediction: xr.DataArray = None,
da_target: xr.DataArray = None,
title=None,
vrange=None,
):
Expand Down

0 comments on commit cf8e3e4

Please sign in to comment.