Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Aug 12 03:19
    dependabot[bot] labeled #169
  • Aug 12 03:19
    dependabot[bot] labeled #169
  • Aug 12 03:19
    dependabot[bot] opened #169
  • Aug 10 21:21
    dependabot[bot] labeled #168
  • Aug 10 21:21
    dependabot[bot] labeled #168
  • Aug 10 21:21
    dependabot[bot] opened #168
  • Aug 04 03:40
    dependabot[bot] labeled #167
  • Aug 04 03:40
    dependabot[bot] labeled #167
  • Aug 04 03:40
    dependabot[bot] opened #167
  • Jul 12 23:28
    dependabot[bot] labeled #166
  • Jul 12 23:28
    dependabot[bot] labeled #166
  • Jul 12 23:28
    dependabot[bot] opened #166
  • Jul 02 21:14
    SamLau95 commented #165
  • Jul 01 17:37
    j-stat opened #165
  • May 27 07:30
    dependabot[bot] labeled #164
  • May 27 07:30
    dependabot[bot] labeled #164
  • May 27 07:30
    dependabot[bot] opened #164
  • May 19 13:12
    dependabot[bot] closed #145
  • May 19 13:12
    dependabot[bot] commented #145
  • May 19 13:12
    dependabot[bot] labeled #163
skDooley
@skDooley
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
?
1201amit
@1201amit
I am getting "numpy" import error when running html page. Code works fine with Jupyter.
Andrea Lorenzon
@andrealorenzon
hello. Is there an easy way to upload files to be analyzed in a webpage generated with nbinteract?
Evan Tsiklidis
@etsi123
I am using nbinteract to develop an interactive web page from a Jupyter notebook. I finally got to the end and published the first version of it but it does not appear the python libraries loaded properly. This appears to be the problem even in some of the original tutorial widgets (https://www.nbinteract.com/examples/examples_empirical_distributions.html) but not others (https://www.nbinteract.com/tutorial/tutorial_interact.html). Any ideas on what might be the problem here?
Thank you in advance for the help and great work with nbinteract!
Evan Tsiklidis
@etsi123
?
João Pedro
@Magreenn
is there a way to change the color of the points/lines for the nbi.<functions> just like with the matplotlib ones?
Avinash Kumar
@avialxee

Hey!
I am using google colaboratory and VS code.
1 week ago I was able to execute nbinteract on the same code with success
but for some reason I am getting this error now:

nbinteract-core:103 Error in kernel initialization :(

Is this compatibility issue? I got this error during installation on binder terminal:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. 
This behaviour is the source of the following dependency conflicts.
nbclient 0.5.2 requires nbformat>=5.0, but you have nbformat 4.4.0 which is incompatible.

posted issue here : https://github.com/SamLau95/nbinteract/issues/157#issue-879376393

Umbra V
@UmbraVenus
https://www.nbinteract.com/ When I go to this website, and click on show widgets, it just says initilizaing widgets and then pause there, I can't actually see the widgets. can someone replicate this issue or let me know why?