Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Sep 15 14:53
    chaitanya2903 closed #139
  • Sep 15 13:58
    chaitanya2903 opened #140
  • Sep 08 13:21
    chaitanya2903 opened #139
  • Sep 07 03:50
    dependabot[bot] labeled #138
  • Sep 07 03:50
    dependabot[bot] labeled #138
  • Sep 07 03:50
    dependabot[bot] opened #138
  • Sep 04 22:14
    dependabot[bot] labeled #137
  • Sep 04 22:14
    dependabot[bot] labeled #137
  • Sep 04 22:14
    dependabot[bot] opened #137
  • Sep 04 14:50
    dependabot[bot] closed #113
  • Sep 04 14:50
    dependabot[bot] commented #113
  • Sep 04 14:50
    dependabot[bot] labeled #136
  • Sep 04 14:50
    dependabot[bot] labeled #136
  • Sep 04 14:50
    dependabot[bot] opened #136
  • Jul 30 09:47
    dependabot[bot] labeled #135
  • Jul 30 09:47
    dependabot[bot] labeled #135
  • Jul 30 09:47
    dependabot[bot] opened #135
  • Jul 19 21:15
    dependabot[bot] labeled #134
  • Jul 19 21:15
    dependabot[bot] labeled #134
  • Jul 19 21:15
    dependabot[bot] opened #134
Michael Patterson
@iampatterson
@iampatterson. Here is the git. https://github.com/iampatterson/skDooley
@skDooley here is the git https://github.com/iampatterson/skDooley
Michael Patterson
@iampatterson
@skDooley I can clean it up, just working on a deadline
skDooley
@skDooley
Just a bit of trouble shooting, do other widgets work or is it just the dropdown?
Michael Patterson
@iampatterson
They seem to. But I am finding it is kinda flaky
I can use a test notebook and they show up fine.
skDooley
@skDooley
do the observers work locally?
by observers I mean event handlers
skDooley
@skDooley
I think your problem is you are expecting the options to know about each other and they aren't connected
Try something like this:
from ipywidgets import interactive
interactive(common_filtering,dropa=unique_sorted_values_plus_ALL(arrayForA),dropb=unique_sorted_values_plus_ALL(arrayForB)dropc=unique_sorted_values_plus_ALL(arrayForC))
Michael Patterson
@iampatterson
I will try that. I am also going to be explicit, and not use the display functionality. Just rebooting and going local, I was trying to compile the HTML through a terminal using the binder terminal.
Michael Patterson
@iampatterson
I am failing a lot today. Now I can't get nbinteact to install locally.
I want to give up.
Michael Patterson
@iampatterson
image.png
I am not going to. Going back online I am getting this , just sits there.
skDooley
@skDooley
where is your display/interact ?
Michael Patterson
@iampatterson
I commented them out just to see what would happen.
Now after they run. I just get this
image.png
code works fine on my desktop
skDooley
@skDooley
Let's take this conversation private so we don't clog up the main form
Michael Patterson
@iampatterson
Great thanks
EmmaPoliakova
@EmmaPoliakova
Hi, I was wondering if it's necessary to use 'interact' from ipywidgets to get a working widget. I followed the tutorial and that worked fine but when I try to use my own code (a mixture of ipycanvas and widget buttons without interact) it never loads.
Michael Patterson
@iampatterson
Good morning Emma. Thanks for reaching out. I am super into these widgets, but still learning. Can you post a couple of pics of the error. I may be able to help.
I will post what code I do have working on my git under skDooley, as I am sharing some code with him.
sprabhakar2006
@sprabhakar2006

Thanks Mr.Lau for the great functionality of nbintract and your efforts

I want to upload files through a web app and do some operations like making graphs f.

Is this possible to do this, In case yes can you please suggest how?

EmmaPoliakova
@EmmaPoliakova
@iampatterson I don't get errors as such, the html file I get after converting the notebook only shows a couple of buttons saying initializing the widgets but it never goes past that. I made a few buttons using the 'interact' and that worked. Here's the repo if you want to have a look https://github.com/EmmaPoliakova/nbinteract-tutorial I suspect that maybe the ipycanvas I wanted to use is not supported or something like that. Thanks for your time
Michael Patterson
@iampatterson
image.png
I was thinking about this. I see that you are using a requiements.txt file. I found that not to load all the packages I needed. I used the YML file instead, it seemed to work better.
Michael Patterson
@iampatterson
Open the developer tools and see what errors you are getting. You can find it under View-->developer-->developer tools. It should look something like this.
image.png
Let me know what you find. But I found that I could see where the code broke. It sounds like you have a problem with your packages.
This thing is super picky, and even more so when it comes to widgets.
EmmaPoliakova
@EmmaPoliakova
2020-05-13_1433.png
So I used the yml file instead of the requiements.txt file and this is the error I'm getting.
skDooley
@skDooley
@EmmaPoliakova, what version of nbinteract are you using? Can you upload yml file?
NM, I see it in your git repo. I will take a look and see if I can see the issue
skDooley
@skDooley
@EmmaPoliakova, your suspicion is correct, when nbinteract creates the html it is not adding any of the javascript that ipycanvas needs.
EmmaPoliakova
@EmmaPoliakova
Oh well never mind. Thank you for your help. I think I will just try to replace the canvas with normal plots.
amine179
@amine179
Hello @SamLau95 and @Calebs97, Thank you very much for your fantastic work! your Tool is really healpful,
However, i was trying to make a webapp in which the user choose a number (n) and the app outputs (n) widgets (dropdowns in my example)
here is the code : https://github.com/amine179/gamenx/blob/master/nb_dyn_widgets_button_test.ipynb
the code is working fine in jupyter
but when converting to HTML using nbinteract
the output widgets doesn't show, instead, it gives a text describing it
any help please would be much appreciated, thanks in advance
hell0venus
@hell0venus

Hello, been working on nbinteract tutorial for quite a while, got some major issues but solved on my own after a while, would like to document it in case it is useful for others.

I've followed the exact steps in the nbinteract tutorial (im using binder, not running in local)

  1. An error in opening a new jupyter notebook in binder after the first commit and push request. This can be easily solved by closing the binder entirely and rebuild binder from the github code. The error should be gone afterwards.
Chaitanya Bachhav
@chaitanya2903
@SamLau95 Hi! Great Work with nbinteract, but the widgets are taking a lot of time to initialize? Can you help me out?
AmirTarighat
@AmirTarighat

Hey there!
I got the error message as follows when using nbinteract:

Unreadable Notebook: /home/jovyan/tutorial.ipynb NotJSONError("Notebook does not appear to be JSON: ''...")

Please help me what to do.
Thanx

Chaitanya Bachhav
@chaitanya2903
@SamLau95 @Calebs97 How do I use nbinteract with a private github repo
?