Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bokeh.embed.components get stuck in PyCall.without_gvl block #92

Open
mrkn opened this issue May 15, 2019 · 0 comments
Open

bokeh.embed.components get stuck in PyCall.without_gvl block #92

mrkn opened this issue May 15, 2019 · 0 comments

Comments

@mrkn
Copy link
Owner

mrkn commented May 15, 2019

bokeh.embed.components() function cannot use in PyCall.without_gvl block.

require 'pycall'

plotting = PyCall.import_module('bokeh.plotting')
embed = PyCall.import_module('bokeh.embed')
plot = plotting.figure()
plot.circle([1, 2], [3, 4])

PyCall.without_gvl do
  components = embed.components(plot)  ## <--- freeze here
  p components
end

This issue is the successor of #85.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant