Skip to content

Commit

Permalink
Merge pull request #51 from lsst-dm/u/womullan/jul21
Browse files Browse the repository at this point in the history
july data - fix for end milestones
  • Loading branch information
womullan committed Sep 7, 2021
2 parents a03638a + 6271c43 commit 6eee5a8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
3 changes: 3 additions & 0 deletions data/pmcs/202107-ME.xls
Git LFS file not shown
2 changes: 1 addition & 1 deletion milestones.py
Expand Up @@ -38,7 +38,7 @@ def parse_args():
burndown = subparsers.add_parser(
"burndown", help="Generate milestone burndown chart."
)
filename, burndown_start, burndown_end = "burndown.png", "2016-10-30", "2022-06-30"
filename, burndown_start, burndown_end = "burndown.png", "2016-10-30", "2024-06-30"
burndown.add_argument(
"--start-date",
type=datetime.fromisoformat,
Expand Down
12 changes: 6 additions & 6 deletions milestones/gantt.py
Expand Up @@ -33,10 +33,10 @@
milestone progress label node/.append style={right=1.4cm},
y unit chart=0.4cm,
y unit title=0.7cm
]{1}{125}
]{1}{137}
\\gantttitle{}{6} \\gantttitle{2018}{12} \\gantttitle{2019}{12}
\\gantttitle{2020}{12} \\gantttitle{2021}{12} \\gantttitle{2022}{12}
\\gantttitle{2023}{12} \\gantttitle{Operations}{47} \\
\\gantttitle{2023}{12} \\gantttitle{2024}{12} \\gantttitle{Operations}{47} \\
\\ganttnewline\n
"""

Expand All @@ -47,8 +47,8 @@
GANTT_PREAMBLE_STANDALONE = """
\\documentclass{article}
\\usepackage[
paperwidth=35cm,
paperheight=24cm, % Manually tweaked to fit chart
paperwidth=36cm,
paperheight=26cm, % Manually tweaked to fit chart
left=0mm,
top=0mm,
bottom=0mm,
Expand All @@ -71,10 +71,10 @@
milestone progress label font=\\sffamily,
y unit chart=0.55cm,
y unit title=0.8cm
]{1}{102}
]{1}{114}
\\gantttitle{}{6} \\gantttitle{2018}{12} \\gantttitle{2019}{12}
\\gantttitle{2020}{12} \\gantttitle{2021}{12} \\gantttitle{2022}{12}
\\gantttitle{2023}{12} \\gantttitle{Operations}{24} \\
\\gantttitle{2023}{12} \\gantttitle{2024}{12} \\gantttitle{Operations}{24} \\
\\ganttnewline\n
"""

Expand Down

0 comments on commit 6eee5a8

Please sign in to comment.