Closed zzzbobml closed 3 years ago
I think you're trying to draw the interactive chart, which is based on bokeh, not matplotlib.
Are you hsing jupyterlab or colab? Colab doesn't support bokeh unfortunately.
Could you share some code/screenshot/traceback that might help to explain what is going wrong?
show nothing in jupyter lab
human-learn==0.3.1
jupyterlab==3.1.10
show nothing too
Ah, you're tring to replicate the bulk-labelling demo. Technically, that's another repo. But let's see.
Can you confirm that you're running everything on port 8888? Per this issue.
In this case, could you also just try running human-learn without all the extra ipywidgets? That sure makes debugging a lot easier.
I can confirm something is up. It seems like bokeh and jupyter no longer play nice with each other.
OK. I just investigated and here's what I'm concluding.
Just to confirm, @BSlience does this maybe explain whats happening on your end?
getting the same error that I'm not able to select anything..
Just to make sure, you're able to make shapes by double-clicking? Just want to exclude that it's a UI-thing.
Damn, you're right. I just saw the instructions inside the source code! Works :)
I was facing this same issue when running over ssh and was able to solve it by forwarding the appropriate port and modifying the InteractiveCharts class to take the port as a parameter when calling show() on the bokeh chart
When I click for drawing as per this example, nothing happens. I've already enabled %matplotlib. Am I missing some other initialization?