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

Add handling of ModuleNotFoundError in plotting function #1002

Closed bloebp closed 1 year ago

bloebp commented 1 year ago

Before, we only caught ImportErrors. However, it can also be that the module has not been installed at all, which would lead to a ModuleNotFoundError instead.