Re: [sage-support] fails to get graph_editor() to work

2020-09-01 Thread pong
Downgraded to ipycancas 0.4.7. It works for me now. Many thanks to both of you. On Monday, August 31, 2020 at 7:15:14 AM UTC-7 Jean-Florent Raymond wrote: > Actually the problem came from ipycanvas > (https://github.com/martinRenou/ipycanvas/issues/117 ) and not sage. > Downgrading to version

Re: [sage-support] fails to get graph_editor() to work

2020-08-31 Thread Jean-Florent Raymond
Actually the problem came from ipycanvas (https://github.com/martinRenou/ipycanvas/issues/117 ) and not sage. Downgrading to version 0.4.7 ( sage -pip install ipycanvas==0.4.7 ) solved the problem. Le 31/08/2020 à 09:50, Dima Pasechnik a écrit : > On Mon, 31 Aug 2020, 08:29 Jean-Florent Raymond,

Re: [sage-support] fails to get graph_editor() to work

2020-08-31 Thread Dima Pasechnik
On Mon, 31 Aug 2020, 08:29 Jean-Florent Raymond, wrote: > Thanks for reporting this. > On my machine it works with the version of sage I was using at the > beginning of summer (version 9.2.beta1, release date: 2020-06-13) but > fails when I compile the latest version from develop. > I will

Re: [sage-support] fails to get graph_editor() to work

2020-08-31 Thread Jean-Florent Raymond
Thanks for reporting this. On my machine it works with the version of sage I was using at the beginning of summer (version 9.2.beta1, release date: 2020-06-13) but fails when I compile the latest version from develop. I will investigate and try to fix this problem. Le 31/08/2020 à 00:15, pong a

Re: [sage-support] fails to get graph_editor() to work

2020-08-30 Thread pong
Thanks, sage --python setup.py install works for me as well! However, when I try the code in the README from phitigra import EditableGraph eg = EditableGraph(graphs.RandomGNP(10, 0.5)) eg.show() It gives a static picture of a graph. But I can't click to create new nodes nor drag any node

Re: [sage-support] fails to get graph_editor() to work

2020-08-30 Thread Dima Pasechnik
On Sun, Aug 30, 2020 at 10:03 PM pong wrote: > > Hi Jean-Florent, > > I did exactly just that (see attachment) but it complains about the need > of at least one requirement to install. > Please advise. how about just doing sage --python setup.py install in the root directory of phitigra

Re: [sage-support] fails to get graph_editor() to work

2020-08-30 Thread Jean-Florent Raymond
Hello, Yes, the directory where to run sage -pip install --upgrade --no-index -v . is the directory of the just cloned project (default: phitigra). There is no need to add 'phitigra' to the command line: pip will guess alone what to install from this directory. Jean-Florent. Le 30/08/2020 à

Re: [sage-support] fails to get graph_editor() to work

2020-08-29 Thread pong
Thanks you. I clone the project but confused what to do next. In the README, it saids Change to the root directory and run: $ sage -pip install --upgrade --no-index -v . which root directory are we talking about? the phitigra directory? Also should it be sage -pip install phitigra --upgrade

Re: [sage-support] fails to get graph_editor() to work

2020-08-29 Thread Jean-Florent Raymond
Hello, I recently started developing a replacement to graph_editor for the jupyter notebook, using ipywidgets and ipycanvas. You can find it at the following address : https://gitlab.limos.fr/jfraymon/phitigra This is still work in progress but the basic editor (adding removing vertices and

Re: [sage-support] fails to get graph_editor() to work

2020-08-29 Thread pong
I see. Is there a substitute for graph_editor()? It's fairly convenient. On Thursday, August 27, 2020 at 8:48:32 AM UTC-7 dim...@gmail.com wrote: > On Thu, Aug 27, 2020 at 4:45 PM pong wrote: > >> >> Running sagemath 9.1 from a jupyter notebook >> >> When calling graph_editor() got the

Re: [sage-support] fails to get graph_editor() to work

2020-08-27 Thread Dima Pasechnik
On Thu, Aug 27, 2020 at 4:45 PM pong wrote: > > Running sagemath 9.1 from a jupyter notebook > > When calling graph_editor() got the following error message. > How can I make the module 'sagenb' works again? > sagenb does not work with Python 3. You'd need Sage 9.1 (or earlier) built with

[sage-support] fails to get graph_editor() to work

2020-08-27 Thread pong
Running sagemath 9.1 from a jupyter notebook When calling graph_editor() got the following error message. How can I make the module 'sagenb' works again? [image: ge.png] -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from