Skip to content
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

Output plots are missing when creating a PDF through Jupyter Lab Export notebook #135

Open
akvsak opened this issue Aug 21, 2022 · 0 comments

Comments

@akvsak
Copy link

akvsak commented Aug 21, 2022

I wanted to try the plotting capability of Wolfram Engine through Jupyter. The plots show well on the notebook but are missing when trying to export as PDF.

Export to HTML works fine and includes the images.

Attached below are the files for inspection:

PDF Export Output file:
wr.pdf

HTML Export Output file (adding .TXT extension to please GH):
wr.html.txt

IPYNB File (adding .TXT extension to please GH):
wr.ipynb.txt

System Info:

Wolfram Engine (Free) Linux 13.1
Linux x86 (64-bit)
Jupyter Lab Version 3.4.4

Brief Code View:

IN: 
1+1
OUT:
2

IN:
Plot3D[Sin[x + y^2], {x, -3, 3}, {y, -2, 2}]
OUT:
Output

IN:
data = Table[Sin[j^2 + i], {i, 0, Pi, Pi/5}, {j, 0, Pi, Pi/5}];
OUT:

IN:
ListPlot3D[data, Mesh -> None, InterpolationOrder -> 3, 
 ColorFunction -> "SouthwestColors"]
OUT:
Output

IN:
Plot3D[Im[ArcSin[(x + I y)^4]], {x, -2, 2}, {y, -2, 2}, Mesh -> None, 
 PlotStyle -> Directive[Yellow, Specularity[White, 20], Opacity[0.8]],
  ExclusionsStyle -> {None, Red}]
OUT:
Output

IN:
data = Table[Sqrt[
   x^2 + y^2 + z^2], {z, 0, 3, 0.1}, {y, 0, 3, 0.1}, {x, 0, 3, 0.1}];
OUT:

IN:
ListSliceContourPlot3D[data, "CenterPlanes"]
OUT:
Output

IN:
%Version
OUT:
Output

IN:
$VersionNumber
OUT:
13.1

IN:
$ReleaseNumber
OUT:
0

IN:
$System
OUT:
Linux x86 (64-bit)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant