Re: [jupyter] How do I install a Jupyter Notebook Server extension?

2017-02-24 Thread Adam Rule
Much thanks! On Friday, February 24, 2017 at 10:27:29 AM UTC-8, takowl wrote: > > On 24 February 2017 at 18:18, Thomas Kluyver > wrote: > >> Thanks for the heads up, I'll update the docs to use nbserver_extensions. >> > > https://github.com/jupyter/notebook/pull/2224 > --

[jupyter] How do I install a Jupyter Notebook Server extension?

2017-02-24 Thread Adam Rule
I am attempting to follow the directions in the Documentation for writing and installing a custom server extension, but have encountered several issues. *How do I install a server

[jupyter] Run code when cells finished executing

2017-04-04 Thread Adam Rule
Hello, I am writing both a notebook extension and a server extension to track changes to notebooks over time. *How can I run code after an action has been applied?* In the notebook extension, I'm attempting to execute blocks of code both before and after Jupyter performs certain actions

Re: [jupyter] Run code when cells finished executing

2017-04-06 Thread Adam Rule
, takowl wrote: > > On 5 April 2017 at 16:55, Adam Rule <acr...@gmail.com > > wrote: > >> I'm running version 4.1.0 so I'll update to 5.0 and check if >> finished_execute.CodeCell gets thrown. If not, I'll file an issue. >> > > Thanks Adam :-) > -- You rec

Re: [jupyter] Run code when cells finished executing

2017-04-05 Thread Adam Rule
I'm running version 4.1.0 so I'll update to 5.0 and check if finished_execute.CodeCell gets thrown. If not, I'll file an issue. On Wednesday, April 5, 2017 at 7:11:36 AM UTC-7, takowl wrote: > > On 4 April 2017 at 23:34, Adam Rule <acr...@gmail.com > > wrote: > >>

[jupyter] How to run forked version of notebook when testing contributions?

2017-04-19 Thread Adam Rule
I'm attempting to Contribute to the Notebook and have followed the instructions for forking, branching, and making changes to the codebase.

Re: [jupyter] How to run forked version of notebook when testing contributions?

2017-04-20 Thread Adam Rule
when mixing anaconda and pip. Try running `pip > uninstall notebook` (repeatedly, until it says you don't have it anymore). > Then try starting again with `pip install -e .`. > > -Min > > > > On Thu, Apr 20, 2017 at 1:49 AM, Adam Rule <acr...@gmail.com > > wro

Re: [jupyter] How to run forked version of notebook when testing contributions?

2017-04-19 Thread Adam Rule
> not, other tricks include trying with a different browser from normal, > opening it in private/incognito mode, or starting the notebook server on a > different port from the default (e.g. --port 8931). > > Thomas > > On 19 April 2017 at 19:56, Adam Rule <acr...@gmai

Re: [jupyter] How to run forked version of notebook when testing contributions?

2017-04-19 Thread Adam Rule
Could it be something with my branches? For example, I have a development branch I'm working on, but could "pip install -e ." be pulling from master? On Wednesday, April 19, 2017 at 3:00:07 PM UTC-7, Adam Rule wrote: > > I am attempting to change actions.js and notebook.js s

Re: [jupyter] How to run forked version of notebook when testing contributions?

2017-04-19 Thread Adam Rule
e named, and no luck. On Wednesday, April 19, 2017 at 4:38:55 PM UTC-7, Adam Rule wrote: > > Could it be something with my branches? For example, I have a development > branch I'm working on, but could "pip install -e ." be pulling from master? > > On Wednesday, April 19, 2017

Re: [jupyter] How to call nbdime's diff options in python

2017-07-11 Thread Adam Rule
as_version=4) > with only_diff_targets(outputs=True): > diff = nbdime.diff_notebooks(a, b) > nbdime.prettyprint.pretty_print_notebook_diff(afn, bfn, a, diff) > > > On Mon, Jul 10, 2017 at 7:52 PM, Adam Rule <acr...@gmail.com > > wrote: > > I noticed there are console commands f

[jupyter] Re: How to configure setup.py for server extension and nbextension

2017-06-23 Thread Adam Rule
%20Extensions%20as%20Python%20Packages.ipynb On Friday, June 23, 2017 at 12:23:50 PM UTC-7, Adam Rule wrote: > > Hi, > > I am following the instructions in the documentation for distributing a > server extension and nbextension in a single python module and am having > difficulty gett

[jupyter] How to configure setup.py for server extension and nbextension

2017-06-23 Thread Adam Rule
Hi, I am following the instructions in the documentation for distributing a server extension and nbextension in a single python module and am having difficulty getting my nbextension .js files to install when I run `python setup.py install`. I think I need to do something in my setup.py or

[jupyter] Re: Need help with custom.js

2017-05-08 Thread Adam Rule
Hi Andrey, Are you seeing any errors in your browser console when you have a notebook open? That could help us diagnose the problem. If you are using Google Chrome, you can find the console in your Developer Tools, which you can access by right clicking and selecting "Inspect" or the View >

Re: [jupyter] Run code when cells finished executing

2017-10-05 Thread Adam Rule
wrote: > > > Hi Adam, > > Did you ever get a workaround for this for earlier versions of Jupyter? > > Thanks > > Jake > > On Thursday, April 6, 2017 at 7:34:51 PM UTC+1, Adam Rule wrote: >> >> Just to close the loop, finished_execute.CodeCell execut

Re: [jupyter] Scrollytelling view for notebooks?

2017-12-12 Thread Adam Rule
I think a scrollytelling approach could be used not only for presentations, but also when working in the notebook itself. Imagine being able to "hide" cells so you get a shortened notebook with just the high level narrative and graphs, but when you scroll past these, you can see the hidden

[jupyter] Redirect Cell Events to another Cell

2017-12-12 Thread Adam Rule
I am experimenting with a notebook extension that enables a 2-panel view. The left panel is for the high level overview cells, and the right panel for implementation details (see the link for an example gif). You can think of it as a new way of 'hiding' cells

Re: [jupyter] Scrollytelling view for notebooks?

2017-12-13 Thread Adam Rule
12 December 2017 21:21:55 UTC, Adam Rule wrote: >> >> I think a scrollytelling approach could be used not only for >> presentations, but also when working in the notebook itself. Imagine being >> able to "hide" cells so you get a shortened notebook with just t

[jupyter] Fork or Revert Kernel?

2017-11-02 Thread Adam Rule
I am modifying Min's Scratchpad extension and am wondering if there is a way to make it so code executed in the scratchpad does not impact the main notebook. As it is, if I mess with parameters in the

[jupyter] Add properties to Jupyter.notebook after it is sealed?

2018-01-09 Thread Adam Rule
I am creating a Jupyter Notebook extension for research purposes that creates a sidebar where users can "hide" cells with implementation details until they wish to see them. I am doing something similar to Min's old Scratchpad

Re: [jupyter] Add properties to Jupyter.notebook after it is sealed?

2018-01-09 Thread Adam Rule
so requiring the same path > or library return you the sam instance. So it might work without having to > attach sidebar to any global variable. A bit like you would attach > something to numpy, or matplotlib. > > The extension looks really cool in the gif ! > -- > M &

[jupyter] How to design JupyterLab extension that reacts to pandas function calls

2018-09-17 Thread Adam Rule
I have noticed that a number of Jupyter users call df.head(), df.shape, df.describe(), or something similar almost every time they load or manipulate a dataframe to inspect what their manipulation did. I would like to develop an extension or kernel magic that prints useful information to a

Re: [jupyter] How to design JupyterLab extension that reacts to pandas function calls

2018-09-17 Thread Adam Rule
> started quickly and explore the problem space. > > On Mon, Sep 17, 2018 at 3:40 PM Adam Rule > > wrote: > >> I have noticed that a number of Jupyter users call df.head(), df.shape, >> df.describe(), or something similar almost every time they load or >> manipulate

Re: [jupyter] How to design JupyterLab extension that reacts to pandas function calls

2018-09-18 Thread Adam Rule
upyterlab/jupyterlab/issues/443 > > Seems like there could be some overlap with what you are trying to do. > > Cheers, > Michael > > On Mon, Sep 17, 2018 at 7:42 PM, Adam Rule > > wrote: > >> Great point Brian. For prototyping's sake monkey patching should be >