Return figure from plot_lagged and add tests

This commit is contained in:
thePR0M3TH3AN committed 2025-05-31 07:04:22 -04:00
1 parent 5ee2695b21
commit 467a0a72ed
3 files changed
+45 -18

No files matched your search

+1
View File
@@ -69,6 +69,7 @@ Future extensions will add additional custom chart scripts under `scripts/`, all
* **Automated tests**: Add pytest modules under `tests/` following the pattern `test_*.py`.
* **Data mocking**: For new chart scripts, mock FRED downloads via monkeypatching `pandas_datareader.data.DataReader`.
* **Figure tests**: `tests/test_plot.py` ensures `plot_lagged` returns a figure with two axes and at least one line.
## Extending with New Charts