Remove code with side effects from main (#1577)
* Remove code with side effects from main When running tests withy pytest, some modules execute code in main scope and open plot or browser windows. Moves such code under `if __name__ == "__main__"`. * fixup! Format Python code with psf/black push
M
Mantas Zimnickas committed
12f69a86f56845f6df96c9991c856f665169f8a6
Parent: 5616fa9
Committed by Christian Clauss <cclauss@me.com>
on 11/17/2019, 6:38:48 PM