minaskar / zeus

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

Move matplotlib import inside function #8

Closed joezuntz closed 4 years ago

joezuntz commented 4 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.