[jupyter] Any confirmation dialog example?

2017-07-07 Thread nicolas.fr
Hi all,
Ì'm looking for a "confirmation dialog" example. 
I see what I need to do but my JavaScript skills don't allow me to 
implement it from scratch. 
Thanks for your help.
N.

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/a04c6399-e022-4517-a117-ea161f66d314%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Re: Second release candidate for ipywidgets 6.0

2017-02-28 Thread nicolas.fr
Hi Sylvain,
- It seems that the new 'bar_color 
' style attribute is only 
available for IntProgress. Is there a change to also have it for 
FloatProgress in the release 6?
- Thanks a lot for switching back to lowercase by default for buttons. 
Nicolas.




Le lundi 27 février 2017 20:18:22 UTC+1, Sylvain Corlay a écrit :
>
> Hi All,
>
> A few days after the first release candidate, and thanks to the useful 
> feedback on the first release candidate, I am pleased to announce a new 
> release candidate for ipywidgets 6.0.
>
> This has been a team effort of many, many individuals. We want to 
> especially mention the following developers who have made major 
> contributions in this release (alphabetical order).
>
> Afshin Darian
> Jeroen Demeyer
> Jonathan Frederic
> Brian Granger
> Jason Grout
> Paul Ivanov
> Grant Nestor
> Cameron Oelsen
>
> There are many changes in the 6.0 release of ipywidgets, including the 
> items currently listed in the changelog at http://ipywidgets
> .readthedocs.io/en/latest/changelog.html.
>
> You can check out this release candidate by running the following commands
>
> pip install ipywidgets --pre
> jupyter nbextension enable --py --sys-prefix widgetsnbextension
>
> We encourage you to test the RC and let us know of any issues you find. We 
> expect this release candidate to be the last one and cut a final release in 
> the next couple of days.
>
> Thanks,
>
> Sylvain
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/70509fef-cc5f-46eb-9797-076ece5beea9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Re: ipywidgets 6.0 RC

2017-02-27 Thread nicolas.fr
Hi Sylvain,

> I have added a `bar_color` property to the progress bar style

You made my day! Thanks a lot for the add.
N.

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/6816747d-5149-4bf2-9479-b3e89e095651%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Re: ipywidgets 6.0 RC

2017-02-23 Thread nicolas.fr
Hi Jason,

Thanks a lot for the RC. I installed it a few hours ago and so far it works 
smoothly. Here are the few minor remarks we have: 


   - New style attribute: The ability to change a widgets color is 
   sometimes more than an aesthetic problem. In our case, any actor of our 
   control system has a 'state' which value is associated to a specific 
   color code 
   . So, for 
   us, this new feature is greatly appreciated. However, it seems it's not 
   available for all widgets. For instance, there is no 
   "progess_bar.style.bar_color" for the *FloatProgressBar* widget. Is 
   there any plan to add it for the next release (i.e. 6.0)? 


   - New button description style: Switching to uppercase for 
   Button.description has an impact on the widget layouts. We had to adapt on 
   some panels. Moreover, the ability to to mix lower and upper case 
   characters make things much readable. Any chance to make this an option for 
   next release?


   - The new Textarea.rows  
   attribute is super cool and works great. We can now dynamically adapt the 
   'box' size according to its content.  

Thanks again for the great work you're doing on ipywidegts.
Nicolas


-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/b627a03d-048a-4014-87f2-31d65c353f21%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Re: Jupyter meets MathBox

2017-02-15 Thread nicolas.fr
Well done! MathBox2 is Impressive.

Le mercredi 15 février 2017 15:23:25 UTC+1, Alexander Mordvintsev a écrit :
>
> Hi, everybody!
>
>
> I've made a notebook 
> 
>  that 
> shows how one can integrate MathBox plots into Jupyter and feed them data 
> from Python backend. WebGL supporting browser and a decent GPU required.
>
>
> MathBox2  is an amazing visualization 
> library created by Steven Wittens . This is a very 
> promising project, containing some really interesting ideas. 
>
> Unfortunately It's not very mature and haven't been updated for a year 
> already. I really don't want it to be abandoned, so I decided to make a few 
> samples to show that it can be useful as a visualization tool for 
> scientific python community.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/d010ca8a-f33f-48c4-af33-c1a9e519f387%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Re: 'Deployable' anaconda/jupyter/... distribution

2017-01-30 Thread nicolas.fr
I think I get the problem: it seems that ipywidgets "dev-install" doesn't 
install anything into the anaconda directory!

>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/a0ed8bd8-28cc-487f-83a8-a3bae19238ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] 'Deployable' anaconda/jupyter/... distribution

2017-01-30 Thread nicolas.fr
Hi all,
I'l trying to build some kind of a 'deployable' miniconda package 
containing jupyter, ipywidgets and widgetsnbextension.
The problem is that an anaconda installation is known to be 'unmovable' - 
due to the hardcoded paths injected by the install process. 
In order to workaround this limitation, I consequently tried to install 
miniconda in a directory present on any host - e.g. /usr/local - so that 
the paths are valid on any machine.
Unfortunately, I have a problem with ipywidgets. It seems to be related to 
the installation its JS part.
So my question is, where are the JS stuffs installed? Where does 
"dev-install" put those files? 
Thanks,
Nicolas


-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/b8ee85b6-3cde-4651-b5db-cbac1c66dcc2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Re: Tab widget doesn't work properly in 6.0.0.beta6

2017-01-28 Thread nicolas.fr
After a proper ipywidgets uninstall and a proper dev-install, everything 
works fine.


Le vendredi 27 janvier 2017 22:39:54 UTC+1, nicolas.fr a écrit :
>
> Hi all,
> The tab widgets doesn't work in 6.0.0.beta6. Children are all visible in 
> each tab. 
> Cheers,
> N.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/93359621-89cd-4be8-ac3c-3ca5266763b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Tab widget doesn't work properly in 6.0.0.beta6

2017-01-27 Thread nicolas.fr
Hi all,
The tab widgets doesn't work in 6.0.0.beta6. Children are all visible in 
each tab. 
Cheers,
N.


-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/a725f75d-a59a-490f-b9e8-7da87f5f554d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Inserting a new cell from python ?

2017-01-18 Thread nicolas.fr
That works. Thanks Fernando.

Le mercredi 18 janvier 2017 21:05:26 UTC+1, Fernando Perez a écrit :
>
> On Wed, Jan 18, 2017 at 4:36 AM,  > wrote:
>
>> Hi all,
>> Is there a way to insert a new cell below the current cell from python?
>> The idea would be to mimic what the '+' button (or Esc-B sequence) does 
>> from the notebook page.
>>
>
> This should do the trick for you:
>
> contents = "hello"
>
> shell = get_ipython()
> shell.set_next_input(contents, replace=False) 
>
> ###
>
> Cheers,
>
> f
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/61a92cae-4146-44e0-915d-1696127b94b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.