JunoLab / Weave.jl

Scientific reports/literate programming for Julia
http://weavejl.mpastell.com
MIT License
823 stars 94 forks source link

Added 'print' chunk option #387

Open mossr opened 4 years ago

mossr commented 4 years ago

The print chuck option is useful in the juliaconsole environment so we can use print instead of display (certain vectors output more compactly using print, especially for textbooks). I think a more sophisticated implementation (e.g., use of Base.invokelatest) could be an improvement from my first pass.

Note, this was forked off of v0.9.4

codecov-commenter commented 3 years ago

Codecov Report

Merging #387 into master will decrease coverage by 0.03%. The diff coverage is 66.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #387      +/-   ##
==========================================
- Coverage   74.34%   74.31%   -0.04%     
==========================================
  Files          25       25              
  Lines        1345     1347       +2     
==========================================
+ Hits         1000     1001       +1     
- Misses        345      346       +1     
Flag Coverage Δ
#unittests 74.31% <66.66%> (-0.04%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/config.jl 20.00% <ø> (ø)
src/display_methods.jl 41.93% <66.66%> (+0.26%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update d3a7f2a...c3d1c1a. Read the comment docs.