Comments (6)
This is a GR issue. GR does not show the plot as part of a show
call.
from literate.jl.
Oh, I see. I'll open an issue in GR's repo then. Thank you.
from literate.jl.
I think you can use GR with Plots.jl though, since Plots does not display until show
is called.
from literate.jl.
Works fine on all platforms (in Jupyter notebook, nteract and Atom).
Which version()
are you using (0.32.3?). Please try:
Pkg.update()
ENV["GRDIR"]=""
Pkg.build("GR")
from literate.jl.
julia> versioninfo()
Julia Version 1.0.0
Commit 5d4eaca0c9 (2018-08-08 20:58 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin17.7.0)
CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
WORD_SIZE: 64
LIBM: libimf
LLVM: libLLVM-6.0.0 (ORCJIT, skylake)
(v1.0) pkg> status
Status `~/.julia/environments/v1.0/Project.toml`
[6e4b80f9] BenchmarkTools v0.4.0
[e30172f5] Documenter v0.19.5
[5789e2e9] FileIO v1.0.1
[28b8d3ca] GR v0.32.3+ [`~/.julia/dev/GR`]
[7073ff75] IJulia v1.9.3
[c601a237] Interact v0.8.0+ #master (https://github.com/JuliaGizmos/Interact.jl.git)
[033835bb] JLD2 v0.1.0
[98b081ad] Literate v1.0.0
[9b87118b] PackageCompiler v0.4.0
[91a5bcdd] Plots v0.19.2
[d330b81b] PyPlot v2.6.0
[65c24e16] QuAlgorithmZoo v0.1.0 [`~/.julia/environments/v1.0/../../../Documents/Workshop/QuAlgorithmZoo.jl`]
[1fd47b50] QuadGK v2.0.1
[295af30f] Revise v0.6.9
[276daf66] SpecialFunctions v0.7.0
[1bc31baa] Yao v0.2.0 #8e117de (https://github.com/QuantumBFS/Yao.jl.git)
actually I even tried the master branch...
It works fine in the notebook, but it does not work when you let Literate.jl
to execute after converting the script to notebooks.
from literate.jl.
See #27, I mean the notebook function's execute keyword does not seem to work...
from literate.jl.
Related Issues (20)
- Option to capture errors? HOT 1
- FR: Supporting flavor-specific filtering
- consecutive (or custom) image filenames HOT 6
- suggestion: mention MarkdownTables.jl in the manual HOT 2
- Add link to Weave.jl
- Empty code cells in Jupyter notebook and errors allowed? HOT 8
- Question: checking for all `[deps]` in `docs/Project.toml` HOT 5
- UndefVarError occurs while execution of generated notebook HOT 1
- Plots.default propagating between different Literate examples? HOT 3
- Standard multiline doc strings HOT 4
- Is it possible to get comments inside a code block while converting to markdown? HOT 2
- Remove `@raw html` decorations if target is Jupyter notebook HOT 2
- Literate does not strip notebook references when source spans multiple lines HOT 2
- RequestError: HTTP/2 302 (Operation too slow ...) in Literate/Documenter build HOT 4
- "Makefile" like capability for Literate examples? HOT 4
- Add documentation explaining scoping and work-arounds HOT 3
- Issue with directories HOT 6
- Any possible interaction with the org-babel literate programming? HOT 2
- Hide clode blocks? HOT 1
- `Literate.markdown` with `execute=true` does not truncate array output HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from literate.jl.