Hvplot.show() does not return an object

When calling hvplot.show() I expect that either a Server or threading.Thread are returned. Without that there is no way to stop the server.
An example would be:

s = hvplot.show(plot, title=title, **{'threaded': True})
s.stop()

Currently show() only calls the sever (passing on the args correctly) but doesn’t return anything.

This seems like a bug but I could certainly be doing something wrong here.

This seems like an oversight. Please open an issue on Github.

Done. hvplot.show() does not return the expected threading.Thread | Server object · Issue #1115 · holoviz/hvplot · GitHub

thanks!

1 Like