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 1313 steps :
1414 - uses : readthedocs/actions/preview@v1
1515 with :
16- project-slug : " pymc "
16+ project-slug : " causalpy "
Original file line number Diff line number Diff line change 77build /
88dist /
99docs /_build /
10+ docs /build /
11+ docs /jupyter_execute /
1012* .vscode
1113.coverage
1214* .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
3434
3535``` python
3636import causalpy as cp
37-
37+ import matplotlib.pyplot as plt
3838
3939# Import and process data
4040df = (
@@ -57,6 +57,8 @@ fig, ax = result.plot();
5757
5858# Get a results summary
5959result.summary()
60+
61+ plt.show()
6062```
6163
6264## Roadmap
Original file line number Diff line number Diff line change 7474
7575# -- intersphinx config -------------------------------------------------------
7676intersphinx_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 ),
7881 "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 ),
7986}
8087
8188# 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
1212Installation
1313------------
1414
15- To get the latest release:
15+ To get the latest release you can use pip :
1616
1717.. code-block :: sh
1818
1919 pip install CausalPy
2020
21+ or conda:
22+
23+ .. code-block :: sh
24+
25+ conda install causalpy -c conda-forge
26+
2127 Alternatively, if you want the very latest version of the package you can install from GitHub:
2228
2329.. code-block :: sh
@@ -31,6 +37,7 @@ Quickstart
3137.. code-block :: python
3238
3339 import causalpy as cp
40+ import matplotlib.pyplot as plt
3441
3542
3643 # Import and process data
@@ -55,6 +62,8 @@ Quickstart
5562 # Get a results summary
5663 result.summary()
5764
65+ plt.show()
66+
5867
5968 Videos
6069------
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ docs = [
5454 " ipykernel" ,
5555 " daft" ,
5656 " linkify-it-py" ,
57- " myst-nb< =1.0 .0" ,
57+ " myst-nb! =1.1 .0" ,
5858 " pathlib" ,
5959 " sphinx" ,
6060 " sphinx-autodoc-typehints" ,
You can’t perform that action at this time.
0 commit comments