Refactor imports in chart scripts to use package-qualified paths

Updated import statements in `bitcoin_m2_chart.py` and `lagged_oil_unrate_chart_styled.py` to use package-qualified paths for better clarity and consistency. Cleaned up code formatting for improved readability. Added a new output image file for the lagged oil-unrate chart.
This commit is contained in:
thePR0M3TH3AN committed 2025-05-31 10:09:37 -04:00
1 parent e5b1d091c5
commit 040b45b093
4 files changed
+25 -24

No files matched your search

+2 -2
View File
@@ -20,8 +20,8 @@ import matplotlib.pyplot as plt
import pandas as pd
from dateutil.relativedelta import relativedelta
# IMPORTANT: import common directly (no "scripts." prefix)
from common import fetch_series_db, save_figure
# IMPORTANT: use the package‐qualified import
from scripts.common import fetch_series_db, save_figure
def fetch_series(