Skip to content

Commit 8234c4b

Browse files
authored
Update UML diagrams (#856)
* update uml diagrams * add uml command to Makefile
1 parent e6f844f commit 8234c4b

File tree

6 files changed

+15
-9
lines changed

6 files changed

+15
-9
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,8 @@ cleandocs:
2626

2727
run_notebooks:
2828
python scripts/run_notebooks/runner.py
29+
30+
uml:
31+
pip install .[docs]
32+
pyreverse pymc_marketing/mmm -d docs/source/uml -f 'ALL' -o png -p mmm
33+
pyreverse pymc_marketing/clv -d docs/source/uml -f 'ALL' -o png -p clv

docs/source/uml/classes_clv.png

-130 KB
Loading

docs/source/uml/classes_mmm.png

839 KB
Loading

docs/source/uml/packages_clv.png

4.39 KB
Loading

docs/source/uml/packages_mmm.png

78.1 KB
Loading

pyproject.toml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,24 +41,25 @@ dependencies = [
4141

4242
[project.optional-dependencies]
4343
docs = [
44-
"sphinx",
45-
"ipython!=8.7.0",
44+
"blackjax",
4645
"fastprogress",
4746
"graphviz",
47+
"ipython!=8.7.0",
48+
"labs-sphinx-theme",
4849
"lifetimes",
49-
"myst-parser",
5050
"myst-nb<=1.0.0",
51+
"myst-parser",
52+
"numba",
5153
"numpydoc",
5254
"numpyro",
53-
"blackjax",
5455
"nutpie",
55-
"numba",
56-
"labs-sphinx-theme",
57-
"sphinx-copybutton",
56+
"pylint",
5857
"sphinx-autodoc-typehints",
59-
"sphinxext-opengraph",
60-
"sphinx-notfound-page",
58+
"sphinx-copybutton",
6159
"sphinx-design",
60+
"sphinx-notfound-page",
61+
"sphinx",
62+
"sphinxext-opengraph",
6263
"watermark",
6364
]
6465
lint = ["mypy", "pandas-stubs", "pre-commit>=2.19.0", "ruff>=0.1.4"]

0 commit comments

Comments
 (0)