mirror of
https://github.com/PR0M3TH3AN/python_charts.git
synced 2026-11-06 13:50:39 +00:00
Return figure from plot_lagged and add tests
This commit is contained in:
1 parent
5ee2695b21
commit
467a0a72ed
3 files changed
+45
-18
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user