py-why / dowhy

DoWhy is a Python library for causal inference that supports explicit modeling and testing of causal assumptions. DoWhy is based on a unified language for causal inference, combining causal graphical models and potential outcomes frameworks.
https://www.pywhy.org/dowhy
MIT License
6.99k stars 923 forks source link

Fix an import issue with pygraphviz #986

Closed bloebp closed 1 year ago

bloebp commented 1 year ago

Pygraphviz was intended to be an optional dependency, but it was imported for typing, thus making it a hard dependency. This hard dependency has now been removed.