Skip to content

Commit

Permalink
hot fix: missed spatial slice in lon/lat
Browse files Browse the repository at this point in the history
  • Loading branch information
bnb32 committed Dec 25, 2022
1 parent 8491632 commit 7978b6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sup3r/qa/visual_qa.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def plot_figure(self, res, time_index, feature, t_slice, s_slice,
fig = plt.figure()
title = f'{feature}: {start_time} - {stop_time}'
plt.suptitle(title)
plt.scatter(res.meta.longitude, res.meta.latitude,
plt.scatter(res.meta.longitude[s_slice], res.meta.latitude[s_slice],
c=np.mean(res[feature, t_slice, s_slice], axis=0),
**self.kwargs)
plt.colorbar()
Expand Down

0 comments on commit 7978b6a

Please sign in to comment.