SS22 Scientific Coding with Julia
Pluto Notebook
With Pluto.jl
Julia provides notebooks that are simple, lightweight and reactive. The notebooks can be shared easily since they also keep track of the used packages and their versions. By using PlutoUI.jl
one can add UI elements like sliders, text fields and so on. It also has markdown support and it is possible to create a nice looking HTML export.
To get started, simply add Pluto
and start the Pluto server with:
julia> using Pluto
julia> Pluto.run()
[ Info: Loading...
┌ Info:
└ Opening http://localhost:1234/?secret=J6cPXwBB in your default browser... ~ have fun!
In the end, Pluto should automatically get opened in your default browser.
Pluto demo
Check our sample notebook and please note that UI elements are only working when the code is run within Pluto. On the top right you will find instructions on how to run the code on your machine.
CC BY-SA 4.0 - Gregor Ehrensperger, Peter Kandolf, Jonas Kusch. Last modified: September 09, 2022.
Website built with Franklin.jl and the Julia programming language.