@@ -278,8 +278,8 @@ plt.show() # not necessary in Jupyter Notebooks
278278> > names=["agency", "site_id", "datetime",
279279> > "timezone", "discharge", "discharge_cd"])
280280> > discharge["datetime"] = pd.to_datetime(discharge["datetime"])
281- > > front_range = discharge[(discharge["datetime"] >= "2013-09-09 ") &
282- > > (discharge["datetime"] < "2013-09-15")]
281+ > > front_range = discharge[(discharge["datetime"] >= "2013-09-11 ") &
282+ > > (discharge["datetime"] <= "2013-09-15")]
283283> >
284284> > fig, ax = plt.subplots()
285285> > front_range.plot(x ="datetime", y="discharge", ax=ax)
@@ -292,7 +292,7 @@ plt.show() # not necessary in Jupyter Notebooks
292292> > "timezone", "flow_rate", "height"])
293293> > fig, ax = plt.subplots()
294294> > flood = discharge[(discharge["datetime"] >= "2013-09-11") &
295- > > (discharge["datetime"] < "2013-09-15")]
295+ > > (discharge["datetime"] <= "2013-09-15")]
296296> >
297297> > ax2 = fig.add_axes([0.65, 0.575, 0.25, 0.3])
298298> > flood.plot(x ="datetime", y="flow_rate", ax=ax)
@@ -308,7 +308,7 @@ plt.show() # not necessary in Jupyter Notebooks
308308> > "timezone", "flow_rate", "height"])
309309> > fig, ax = plt.subplots()
310310> > flood = discharge[(discharge["datetime"] >= "2013-09-11") &
311- > > (discharge["datetime"] < "2013-09-15")]
311+ > > (discharge["datetime"] <= "2013-09-15")]
312312> >
313313> > ax2 = fig.add_axes([0.65, 0.575, 0.25, 0.3])
314314> > flood.plot(x ="datetime", y="flow_rate", ax=ax)
0 commit comments