Skip to content

Commit add60aa

Browse files
committed
updated plot_uk_marriage_rates.py
1 parent 53def06 commit add60aa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

plot_uk_marriage_rates.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ def __init__(self):
6868
# super(PlotUKMarriageRates, self).process_options()
6969

7070
def run(self):
71-
if not self.args:
72-
self.usage("Provide path to datadownload.xlsx")
73-
74-
file_path = self.args[0]
71+
file_path = f"{srcdir}/tests/data/uk_marriage_rates_2022.xslx"
72+
if self.args:
73+
file_path = self.args[0]
74+
#self.usage("Provide path to datadownload.xlsx")
7575

7676
if not os.path.isfile(file_path):
7777
self.usage(f"Invalid argument provided, not a file: {file_path}")

0 commit comments

Comments
 (0)