Makie example gallery generated with this package
julia> using MakieGallery
julia> database = MakieGallery.load_database();
julia> database[1].title # can be used e.g. for filter(x-> x.title == "...", database)
"Tutorial simple scatter"
julia> database[1] # pretty printing :)
...
x = rand(10)
y = rand(10)
colors = rand(10)
scene = scatter(x, y, color = colors)
...
julia> using Makie
julia> MakieGallery.eval_example(database[1]) # run it!
Please file all issues in Makie.jl, and mention MakieGallery in the issue text!
MakieGallery hosts a lot of examples describing how to use Makie.jl.
To add a standalone example, find the file where it fits best, and add a new @cell
entry
(or a new @block
entry if you want to add more examples in the future).
If you want to add multiple examples, you probably want to add a new @block
, or even a new file.
MakieGallery
hosts documentation for Makie.jl.
However, this documentation requires the reference images to be downloaded in the home directory
(configurability via an environment variable is planned).
You can get the reference images from https://github.com/JuliaPlots/MakieReferenceImages -
it's a large repository, so you may want to shallow clone.
You can upgrade the reference images by using the script test/upgrade_recordings.jl
. Then, you can create a pull request to MakieReferenceImages.