WillianFuks / tfcausalimpact

Python Causal Impact Implementation Based on Google's R Package. Built using TensorFlow Probability.
Apache License 2.0
600 stars 72 forks source link

ci.plot() doesn't work #34

Open navinkumar88 opened 2 years ago

navinkumar88 commented 2 years ago

both: 1) print(ci.summary()) 2)print(ci.summary(output='report')) is working

but both: 1) ci.plot() 2) ci.plot(panels=['pointwise','cumulative'], figsize=(12, 8)); does not

image image

WillianFuks commented 2 years ago

Hi @navinkumar88 ,

Do you have a sample of the input data you used? Not sure what's going on there as I couldn't replicate here.

WillianFuks commented 2 years ago

Hi @navinkumar88 ,

Do you still have this issue happening?

CleitonOERocha commented 2 years ago

I had this same problem, what worked for me was to update matplotlib:

pip install --upgrade matplotlib

And restart VSCode.

I hope this will help you.