Closed kjappelbaum closed 3 years ago
Hi Will,
thanks for review and comments :)
I'd hesitate to have a toggle on the return type of a function, i think plt.gcf()
or plt.gca()
should do the the job.
Cheers, Kevin
Sounds great! I'll prepare to finish the PR now :)!
Hi, thanks for this great library!
This PR does not do much, it only allows that users can get the current matplotlib axis to change the style of the plot or to save the figure. That is, it should also address dafiti/causalimpact#72.
Using the show argument is similar to what, for example, SHAP does https://github.com/slundberg/shap/blob/3711be957461c3747d4f788e8604c5568ffb2d90/shap/plots/_violin.py#L19-L27