Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plots for continuous treatment (observational data) not displaying #839

Closed
suryadipta opened this issue Jan 16, 2024 · 2 comments
Closed

Comments

@suryadipta
Copy link

suryadipta commented Jan 16, 2024

Hi,
I am running the notebook for the double machine learning example downloaded as it is from https://github.com/py-why/EconML/blob/main/notebooks/Double%20Machine%20Learning%20Examples.ipynb

The plots for orange juice elasticity ("# Plot Oranje Juice elasticity as a function of income") are not displaying although the codes are not showing any error.

The following packages are installed (virtual environment):
Package Version


anyio 4.2.0
argon2-cffi 23.1.0
argon2-cffi-bindings 21.2.0
arrow 1.3.0
asttokens 2.4.1
async-lru 2.0.4
attrs 23.2.0
Babel 2.14.0
beautifulsoup4 4.12.2
bleach 6.1.0
causal-learn 0.1.3.7
certifi 2023.11.17
cffi 1.16.0
charset-normalizer 3.3.2
clarabel 0.6.0
cloudpickle 3.0.0
colorama 0.4.6
comm 0.2.1
contourpy 1.2.0
cvxpy 1.4.1
cycler 0.12.1
Cython 3.0.8
debugpy 1.8.0
decorator 5.1.1
defusedxml 0.7.1
dowhy 0.11.1
econml 0.15.0b1
ecos 2.0.12
exceptiongroup 1.2.0
executing 2.0.1
fastjsonschema 2.19.1
fonttools 4.47.2
fqdn 1.5.1
graphviz 0.20.1
idna 3.6
ipykernel 6.28.0
ipython 8.20.0
ipywidgets 8.1.1
isoduration 20.11.0
jedi 0.19.1
Jinja2 3.1.3
joblib 1.3.2
json5 0.9.14
jsonpointer 2.4
jsonschema 4.20.0
jsonschema-specifications 2023.12.1
jupyter 1.0.0
jupyter_client 8.6.0
jupyter-console 6.6.3
jupyter_core 5.7.1
jupyter-events 0.9.0
jupyter-lsp 2.2.1
jupyter_server 2.12.4
jupyter_server_terminals 0.5.1
jupyterlab 4.0.10
jupyterlab_pygments 0.3.0
jupyterlab_server 2.25.2
jupyterlab-widgets 3.0.9
kiwisolver 1.4.5
lightgbm 4.2.0
llvmlite 0.41.1
MarkupSafe 2.1.3
matplotlib 3.8.2
matplotlib-inline 0.1.6
mistune 3.0.2
mpmath 1.3.0
nbclient 0.9.0
nbconvert 7.14.1
nbformat 5.9.2
nest-asyncio 1.5.8
networkx 3.2.1
notebook 7.0.6
notebook_shim 0.2.3
numba 0.58.1
numpy 1.26.3
osqp 0.6.3
overrides 7.4.0
packaging 23.2
pandas 2.1.4
pandocfilters 1.5.0
parso 0.8.3
patsy 0.5.6
pillow 10.2.0
pip 23.3.2
platformdirs 4.1.0
plotly 5.18.0
prometheus-client 0.19.0
prompt-toolkit 3.0.43
psutil 5.9.7
pure-eval 0.2.2
pyarrow 14.0.2
pybind11 2.11.1
pycparser 2.21
pydot 2.0.0
Pygments 2.17.2
pyparsing 3.1.1
python-dateutil 2.8.2
python-json-logger 2.0.7
pytz 2023.3.post1
pywin32 306
pywinpty 2.0.12
PyYAML 6.0.1
pyzmq 25.1.2
qdldl 0.1.7.post0
qtconsole 5.5.1
QtPy 2.4.1
referencing 0.32.1
requests 2.31.0
rfc3339-validator 0.1.4
rfc3986-validator 0.1.1
rpds-py 0.17.1
scikit-learn 1.2.2
scipy 1.11.4
scs 3.2.4.post1
seaborn 0.13.1
Send2Trash 1.8.2
setuptools 65.5.0
shap 0.44.0
six 1.16.0
slicer 0.0.7
sniffio 1.3.0
soupsieve 2.5
sparse 0.15.1
stack-data 0.6.3
statsmodels 0.14.1
sympy 1.12
tenacity 8.2.3
terminado 0.18.0
threadpoolctl 3.2.0
tinycss2 1.2.1
tomli 2.0.1
tornado 6.4
tqdm 4.66.1
traitlets 5.14.1
types-python-dateutil 2.8.19.20240106
typing_extensions 4.9.0
tzdata 2023.4
uri-template 1.3.0
urllib3 2.1.0
wcwidth 0.2.13
webcolors 1.13
webencodings 0.5.1
websocket-client 1.7.0
widgetsnbextension 4.0.9
xgboost 2.0.3

Can you advise me how to address this problem? Thank you in advance!

@kbattocchi
Copy link
Collaborator

I see that you've closed this issue but I noticed that our automated tests also reproduce this when they run our notebook tests - did you take any specific steps to mitigate it?

@suryadipta
Copy link
Author

suryadipta commented Jan 25, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants