mirror of
https://github.com/PR0M3TH3AN/python_charts.git
synced 2026-10-28 17:30:41 +00:00
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:
1 parent
e5b1d091c5
commit
040b45b093
4 files changed
+25
-24
No files matched your search
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user