Closed benmaier closed 5 years ago
Styling as in the config? Or the image? Would be aaaaawesome if we could pipe the canvas image back into a notebook as cell output
Ah just saw the issue on netwulf I understand now.
Would be cool to pipe the image back ... I think I know how to approach this in general, but it'd take some time :(
Is there a way for the program to tell if it was launched from a Python instance? Since I still want there to be a web version (because I use that quite a lot), this should of course not have the POST feature.
We could add an option to the url, like ?python=true
or smth?
Good idea! Seems like location.href
is what I was looking for. I will implement this.
I've added functionality to use an HTTP request (POST) to transfer the computed styling back to Python.
I've also declared some previously undeclared variables which used to caused errors on my machine.