Skip to content

Commit bdc73e9

Browse files
committed
Update: coordinate names
1 parent b38cc99 commit bdc73e9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

kaleidoscope/val/plots.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ def plot(
4444
ylocs: tuple[Any, ...] | None = None,
4545
vmin: Any | None = None,
4646
vmax: Any | None = None,
47+
x: str = "lon",
48+
y: str = "lat",
4749
) -> Figure:
4850
if projection is None:
4951
projection = self.projection
@@ -55,8 +57,8 @@ def plot(
5557
cbar_kwargs["label"] = cbar_label
5658
data.plot(
5759
ax=ax,
58-
x="lon",
59-
y="lat",
60+
x=x,
61+
y=y,
6062
robust=True,
6163
transform=self.transform,
6264
vmin=vmin,

0 commit comments

Comments
 (0)