@interact missing argument labels in JupyterLab
See original GitHub issueThe sliders below should be labeled with x
and y
, the argument names.
from ipywidgets import interact, Output, HBox
left = Output()
right = Output()
with left:
@interact(x=(0,10))
def f(x):
@interact(y=(0,x))
def g(y):
with right:
print('Product',x*y)
print("Product calculator")
HBox([left, right])
Edit: This only seems to be a problem in JupyterLab, not the notebook
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
"Missing argument labels 'arg1:arg2:' in call" [duplicate]
When you have an error with argument labels, make sure to check that when you call the function, you are including them. Good...
Read more >Quickly label data in Jupyter Lab | by Dennis Bakhuis
It was plain simple: in Jupyter you feed a list of text and a list of labels to a function and a widget...
Read more >Common Extension Points - JupyterLab Documentation
@jupyterlab/application:IConnectionLost : A service for invoking the dialog shown when JupyterLab has lost its connection to the server.
Read more >Missing argument label 'where' in call - Apple Developer
Missing argument label 'where:' in call. if I add that label, I get a completely new set of error as the new method...
Read more >Jupyter Documentation - Read the Docs
arguments must be changed by modifying the kernelspec. ... JupyterLab is a flexible, extensible interface for interactive computing.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in #889.
It appears that widgets inside a jupyterlab Output widget do not trigger the onAttached method, so the displayed promise never gets resolved. Here’s a simpler example that doesn’t work: