uber / causalml

Uplift modeling and causal inference with machine learning algorithms
Other
4.98k stars 767 forks source link

cannot import name 'plot_causal_tree' from 'causalml.inference.tree.plot' #625

Open blingbing opened 1 year ago

blingbing commented 1 year ago

Hi, i install causalml sucessfully by using "conda install -c conda-forge causalml" and causalml version=0.13.0. but when i using this code "from causalml.inference.tree.plot import plot_causal_tree", it report cannot import name 'plot_causal_tree' from 'causalml.inference.tree.plot' .

the environment is python3.8 and macos12.2

Thanks!

vincewu51 commented 1 year ago

Hi, @blingbing. Thanks for reporting the bug. I cannot reproduce your bug. Are you able to import other methods? Can you provide more details or maybe a screenshot of the issue? Thanks. We have released 0.14.0, I suggest you give it a try.