From 28011e88b02eef1aee70d6874f718fc521a925d3 Mon Sep 17 00:00:00 2001 From: blychs Date: Fri, 4 Oct 2024 10:08:46 -0600 Subject: [PATCH] make change to pairdf_all, which then gets plotted --- melodies_monet/driver.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/melodies_monet/driver.py b/melodies_monet/driver.py index fb5a69ba..2e5bcb17 100644 --- a/melodies_monet/driver.py +++ b/melodies_monet/driver.py @@ -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)