d3py
d3py copied to clipboard
Ability to stop the server after fig.show()
... otherwise port 8000 remains in use and no new figs can be launched.
Yes. fit.stop() or something similar would be nice, if not automatic.
This can be accomplished by calling fig. _cleanup()
or manually shutting down the threaded http server with:
fig.httpd.shutdown()
fig.httpd.server_close()
Although I agree there should probably be an easier interface into this.