Skip to content

Commit

Permalink
make change to pairdf_all, which then gets plotted
Browse files Browse the repository at this point in the history
  • Loading branch information
blychs committed Oct 4, 2024
1 parent b960c5d commit 28011e8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions melodies_monet/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -1522,11 +1522,11 @@ def plotting(self):
f"{domain_type!r}. Soon, arbitrary rectangular boxes, US states and "
"others will be included."
)
pairdf = pairdf_all.loc[
(pairdf_all["latitude"] > bounds[0])
& (pairdf_all["longitude"] > bounds[1])
& (pairdf_all["latitude"] < bounds[2])
& (pairdf_all["longitude"] < bounds[3])
pairdf_all = pairdf_all.loc[
(pairdf_all["latitude"] > bounds[0])
& (pairdf_all["longitude"] > bounds[1])
& (pairdf_all["latitude"] < bounds[2])
& (pairdf_all["longitude"] < bounds[3])
]
else:
pairdf_all.query(domain_type + ' == ' + '"' + domain_name + '"', inplace=True)
Expand Down

0 comments on commit 28011e8

Please sign in to comment.