File tree Expand file tree Collapse file tree 6 files changed +25
-5
lines changed Expand file tree Collapse file tree 6 files changed +25
-5
lines changed Original file line number Diff line number Diff line change 13
13
steps :
14
14
- uses : readthedocs/actions/preview@v1
15
15
with :
16
- project-slug : " pymc "
16
+ project-slug : " causalpy "
Original file line number Diff line number Diff line change 7
7
build /
8
8
dist /
9
9
docs /_build /
10
+ docs /build /
11
+ docs /jupyter_execute /
10
12
* .vscode
11
13
.coverage
12
14
* .jupyterlab-workspace
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ pip install git+https://github.com/pymc-labs/CausalPy.git
34
34
35
35
``` python
36
36
import causalpy as cp
37
-
37
+ import matplotlib.pyplot as plt
38
38
39
39
# Import and process data
40
40
df = (
@@ -57,6 +57,8 @@ fig, ax = result.plot();
57
57
58
58
# Get a results summary
59
59
result.summary()
60
+
61
+ plt.show()
60
62
```
61
63
62
64
## Roadmap
Original file line number Diff line number Diff line change 74
74
75
75
# -- intersphinx config -------------------------------------------------------
76
76
intersphinx_mapping = {
77
- "python" : ("https://docs.python.org/3" , None ),
77
+ "examples" : ("https://www.pymc.io/projects/examples/en/latest/" , None ),
78
+ "mpl" : ("https://matplotlib.org/stable" , None ),
79
+ "numpy" : ("https://numpy.org/doc/stable/" , None ),
80
+ "pandas" : ("https://pandas.pydata.org/pandas-docs/stable/" , None ),
78
81
"pymc" : ("https://www.pymc.io/projects/docs/en/stable/" , None ),
82
+ "python" : ("https://docs.python.org/3" , None ),
83
+ "scikit-learn" : ("https://scikit-learn.org/stable/" , None ),
84
+ "scipy" : ("https://docs.scipy.org/doc/scipy/" , None ),
85
+ "xarray" : ("https://docs.xarray.dev/en/stable/" , None ),
79
86
}
80
87
81
88
# MyST options for working with markdown files.
Original file line number Diff line number Diff line change @@ -12,12 +12,18 @@ A Python package focussing on causal inference for quasi-experiments. The packag
12
12
Installation
13
13
------------
14
14
15
- To get the latest release:
15
+ To get the latest release you can use pip :
16
16
17
17
.. code-block :: sh
18
18
19
19
pip install CausalPy
20
20
21
+ or conda:
22
+
23
+ .. code-block :: sh
24
+
25
+ conda install causalpy -c conda-forge
26
+
21
27
Alternatively, if you want the very latest version of the package you can install from GitHub:
22
28
23
29
.. code-block :: sh
@@ -31,6 +37,7 @@ Quickstart
31
37
.. code-block :: python
32
38
33
39
import causalpy as cp
40
+ import matplotlib.pyplot as plt
34
41
35
42
36
43
# Import and process data
@@ -55,6 +62,8 @@ Quickstart
55
62
# Get a results summary
56
63
result.summary()
57
64
65
+ plt.show()
66
+
58
67
59
68
Videos
60
69
------
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ docs = [
54
54
" ipykernel" ,
55
55
" daft" ,
56
56
" linkify-it-py" ,
57
- " myst-nb< =1.0 .0" ,
57
+ " myst-nb! =1.1 .0" ,
58
58
" pathlib" ,
59
59
" sphinx" ,
60
60
" sphinx-autodoc-typehints" ,
You can’t perform that action at this time.
0 commit comments