-
-
Notifications
You must be signed in to change notification settings - Fork 481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jupyter and tikz picture #19515
Comments
Attachment: jupyter vs tikz picture.ipynb.gz jupyter vs tikz |
Attachment: jupyter vs tikz picture.pdf.gz version pdf... |
comment:2
I've tried your patch, but appearently I'm doing something wrong:
3a) New notebook with
opens a pdf and shows the transducer there (not embedded) 3b) New notebook with
returns
Any ideas? |
comment:3
Hello Daniel, I don't if it is significant but I run
and
fails on my mac os laptop with sage 6.9. I think the problem is that tikz is not loaded by default. I use the following lines in my config file
This helps? |
comment:4
Replying to @sagetrac-elixyre:
Makes not difference for me
Maybe I have
I've put this directly into a notebook cell, but this didn't change anything; it still doesn't work. PS: I have a Linux machine (Linux Mint 17.2; since you mentioned some other OS) |
comment:5
The file
If it does not work... I have no idea how to fix that... |
comment:6
You might want to test this on top of #19566. |
comment:8
Replying to @sagetrac-elixyre:
Can this be set automatically (by default) when using the (Jupyter) notebook? |
comment:11
Mucking around with EMBEDDED_MODE global variables is phenomenally fugly, we should work to get rid of that. Most certainly we should not build new stuff that relies on it. Also, this ticket doesn't let you do anything useful with the pdf file besides immediately showing it, it still doesn't work as displayhook, and further deepens the weird differences between view/show/pretty_print. |
This code provides a fix to use the function
view
on object represented by a picture tikz, in the jupyter notebook (or ipython I guess).I don't understand the goal of #18116 (the code of this ticket does not work on my sage 6.9) and why the function
show
is better thanview
but... whatever my code works (see the joint notebook)!CC: @jplab @seblabbe @vbraun @VivianePons @cheuberg @JeremiasE
Component: notebook
Keywords: notebook, tikz, ipython, jupyter
Author: Jean-Baptiste Priez
Branch/Commit: u/elixyre/jupyter @
c51513c
Issue created by migration from https://trac.sagemath.org/ticket/19515
The text was updated successfully, but these errors were encountered: