Apr-17-2020, 11:30 PM
I'm not familiar with ipywidgets, and I suspect others lacking that knowledge is a big part of why you're not getting responses. That said, I'd have skipped over your thread even if I had the expertise, and here's why...
For anything but the most trivial of issues, and especially for issues where we don't already know the solution, we want to run the code. We want to tinker with it. We want to figure it out ourselves and then give you a helpful response, rather than going back and forth over and over hashing out small details.
The first thing I noticed with your code, after scrolling through it for about a second, was the lack of imports. I was excited at first - I'm pretty confident I can answer any Python question that doesn't include imports, unless it's really exotic. Here's the thing...
Anytime you're asking a question about code, you should provide full, runnable code, and if there's an error message with that code that needs to be included as well. I don't say this to shame you, but to help you - I could have (and nearly did) just skip over this. No one is going to hold it against you that you didn't know how to ask coding questions before. But if you make a habit of asking questions like this, you'll get similar answers.
tldr the best you can do at this point is make sure your code is runnable, so that people who aren't already familiar with that library can tinker with it. Providing details on how to install that library is probably worthwhile too.
For anything but the most trivial of issues, and especially for issues where we don't already know the solution, we want to run the code. We want to tinker with it. We want to figure it out ourselves and then give you a helpful response, rather than going back and forth over and over hashing out small details.
The first thing I noticed with your code, after scrolling through it for about a second, was the lack of imports. I was excited at first - I'm pretty confident I can answer any Python question that doesn't include imports, unless it's really exotic. Here's the thing...
Error:Traceback (most recent call last):
File "forum.py", line 35, in <module>
demo = create_master_tab()
File "forum.py", line 30, in create_master_tab
panel_num = VBox(get_input_panel_num())
NameError: name 'VBox' is not defined
I didn't have to run your code to know that this is the result from running it. It took a few seconds of reading code. I suppose I could Google around and try to get it working, but honestly I expect people to put in the maximum effort to help us help them before I go down a rabbit hole like that.Anytime you're asking a question about code, you should provide full, runnable code, and if there's an error message with that code that needs to be included as well. I don't say this to shame you, but to help you - I could have (and nearly did) just skip over this. No one is going to hold it against you that you didn't know how to ask coding questions before. But if you make a habit of asking questions like this, you'll get similar answers.
tldr the best you can do at this point is make sure your code is runnable, so that people who aren't already familiar with that library can tinker with it. Providing details on how to install that library is probably worthwhile too.