minaskar / zeus

⚡️ zeus: Lightning Fast MCMC ⚡️
https://zeus-mcmc.readthedocs.io/
GNU General Public License v3.0
225 stars 34 forks source link

Move matplotlib import inside function #8

Closed joezuntz closed 3 years ago

joezuntz commented 3 years ago

It's often useful to avoid importing matplotlib unless it's especially needed, since it can cause problems on some clusters and things like that. This moves the matplotlib and seaborn imports inside the function that uses them, so they won't be imported unless called.