eggplantbren / DNest4

Diffusive Nested Sampling
MIT License
62 stars 22 forks source link

Move matplotlib imports inside relevant functions #22

Closed joezuntz closed 6 years ago

joezuntz commented 6 years ago

Matplotlib can be a pain on some systems, and isn't needed for the sampling itself.

This small change moves the imports of matplotlib inside the functions where it's needed, so that you can import the rest of the code without it.

Cheers, Joe Zuntz

eggplantbren commented 6 years ago

A sensible change - merged. Thanks