juliaplots / makiegallery.jl Goto Github PK
View Code? Open in Web Editor NEWDocumentation and Example Gallery for Makie
Home Page: http://makie.juliaplots.org/dev
License: Other
Documentation and Example Gallery for Makie
Home Page: http://makie.juliaplots.org/dev
License: Other
Once #107 is resolved, I am going to add the docs for hbox
since vbox
is already there. I also just updated those docs here: JuliaPlots/AbstractPlotting.jl#193
The images on Plotting functions overview
in the docs seem broken; there are no images, only links.
Below is the relevant code from docs/make.jl
.
# =============================================
# automatically generate an overview of the atomic functions, using a source md file
@info("Generating functions overview")
path = joinpath(srcpath, "functions-overview.md")
srcdocpath = joinpath(srcpath, "src-functions.md")
plotting_functions = (
AbstractPlotting.atomic_functions..., contour, arrows,
barplot, poly, band, slider, vbox
)
open(path, "w") do io
!ispath(srcdocpath) && error("source document doesn't exist!")
println(io, "# Plotting functions overview")
src = read(srcdocpath, String)
println(io, src, "\n")
for func in plotting_functions
fname = to_string(func)
println(io, "## `$fname`\n")
println(io, "```@docs")
println(io, "$fname")
println(io, "```\n")
help_attributes(io, func; extended = true)
# add previews of all tags related to function
for example in database
fname in example.tags || continue
base_path = joinpath(mediapath, string(example.unique_name))
thumb = master_url(mediapath, joinpath(base_path, "media", "thumb.jpg"))
code = master_url(mediapath, joinpath(base_path, "index.html"))
src_lines = example.file_range
println(io, """[![library lines $src_lines]($thumb)]($code)""") ## this doesn't seem right??
end
println(io, "\n")
end
end
Could we put, for example, @example_database
there instead?
When you get a chance, please add docs saying that this functionality is out there. I can do this if you explain how I can add stuff to the docs. @asinghvi17
┌ Error: Error building `GLMakie`:
│ ERROR: LoadError: OpenGL/GLFW wasn't installed correctly. This likely means,
│ you don't have an OpenGL capable Graphic Card,
│ you don't have the newest video driver installed,
│ or the GLFW build failed. If you're on linux and `]build` GLFW failed,
│ try manually adding `sudo apt-get install libglfw3` and then `]build GLMakie`.
│ If you're on a headless server, you still need to install x-server and
│ propper GPU drivers. You can take inspiration from this article
│ on how to get Makie running on a headless system:
│ https://nextjournal.com/sdanisch/makie-1.0
│ If you don't have a GPU, there is also a Cairo software backend
│ for Makie which you can use:
│ https://github.com/JuliaPlots/CairoMakie.jl.
│ Please check the below error and open an issue at:
│ https://github.com/JuliaPlots/GLMakie.jl.
│ After you fixed your OpenGL install, please run `]build GLMakie` again!
│ GLMakie will still load, but will be disabled as a default backend for Makie
│
│ Stacktrace:
│ [1] error(::String) at ./error.jl:33
│ [2] top-level scope at /builds/JuliaGPU/MakieGallery-jl/.julia/packages/GLMakie/kWX6o/deps/build.jl:28
│ [3] include at ./boot.jl:317 [inlined]
│ [4] include_relative(::Module, ::String) at ./loading.jl:1044
│ [5] include(::Module, ::String) at ./sysimg.jl:29
│ [6] include(::String) at ./client.jl:392
│ [7] top-level scope at none:0
│ in expression starting at /builds/JuliaGPU/MakieGallery-jl/.julia/packages/GLMakie/kWX6o/deps/build.jl:19
└ @ Pkg.Operations /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1096
in https://gitlab.com/JuliaGPU/MakieGallery-jl/-/jobs/223210525
We currently download reference images for visual regression tests from Github.
However, this is annoying for two reasons:
It requires an internet connection
It precludes the possibility of using a custom set of reference images
I propose that we could fix this by reading an environment variable MAKIEGALLERY_REFIMG_PATH
to indicate a path for the reference image directory while testing. If that environment variable does not exist (i.e., !haskey(ENV, "MAKIEGALLERY_REFIMG_PATH")
), then we redownload the reference images and indicate that in stdout, as well as (possibly) saving the path for future use (or creating it as a git repo and git pull --force
ing it every test.
I want to try and use a button but there are no examples.
How do I change the text size using the ticks attribute?
XRef: JuliaPlots/GLMakie.jl#28
Where does this fit in best?
Note that the weird result in the top center is a know issue with the miter becoming longer than the line itself. This is a corner case not fixed in the PR above (though not for want of trying). However the rest of the cases are a big improvement over current GLMakie.
# A test case for wide lines and mitering at joints
scene = Scene(resolution=(400,400))
r = 4
sep = 4*r
scatter!(scene, (sep+2*r)*[-1,-1,1,1], (sep+2*r)*[-1,1,-1,1])
for i=-1:1
for j=-1:1
angle = pi/2 + pi/4*i
x = r*[-cos(angle/2),0,-cos(angle/2)]
y = r*[-sin(angle/2),0,sin(angle/2)]
linewidth = 40 * 2.0^j
lines!(scene, x .+ sep*i, y .+ sep*j, color=RGBAf0(0,0,0,0.5), linewidth=linewidth)
lines!(scene, x .+ sep*i, y .+ sep*j, color=:red)
end
end
scene
I guess that makes sense...
You can already do this by overwriting padding:
heatmap(rand(100, 100), padding = (0.0, 0.0))
Originally posted by @SimonDanisch in MakieOrg/Makie.jl#174 (comment)
ERROR: Unknown media extension: with path: http://juliaplots.org/MakieReferenceImages/gallery//convergence/media/imagehttp://juliaplots.org/MakieReferenceImages/gallery/png
It's nice to have the Gtk.jl window, but that's about the only reason we'd use it.
Here in documentation http://makie.juliaplots.org/dev/scenes.html#Events-1 it says some keyboard buttons are supported for interaction, but not mentioned what are those. Same for mouse clicks (left or right click, etc)
http://makie.juliaplots.org/dev/transformations.html# does not actually work.
I am trying to implement a basic slider. The examples in the Makie Gallery are a little more complex than I am looking for(the actual slider functionality is a little hidden under the complexity of the actual ting being plotted). The docs for sliders also just as a TODO as a place holder. If anyone has a simple slider example, I would appreciate seeing it. I will keep working on it for now.
Can this be moved to a Docker image?
MakieGallery.jl/.gitlab-ci.yml
Lines 43 to 48 in ae6ff18
The 2 examples in this link look so much alike. I thought the idea was to show the translation distinctly.
https://simondanisch.github.io/ReferenceImages/gallery/transforming_lines/index.html
Makie.jl is the metapackage for a rich ecosystem, which consists of GLMakie.jl, CairoMakie.jl and WGLMakie.jl (the backends); AbstractPlotting.jl (the bulk of the package); and StatsMakie.jl (statistical plotting support, as in StatsPlots.jl).
Add this from the makie.jl readme.
https://github.com/JuliaPlots/Makie.jl#ecosystem
I will find a place and do this tomorrow.
Hey @asinghvi17 , I am trying to add something to the example gallery, so I can do this @example_database("Tutorial adding to a scene")
with my own example in the docs. How do I get it into there?
Do I just do
@cell "$title" [labels...] begin
# example code here
end
Where the title is the @example_database("title")
?
Add this as an example or part of the tutorial.
Per the link here
This code example longer runs!
see: http://makie.juliaplots.org/dev/functions-overview.html#vbox-1
vs
Can we add "\n" or something like that to get multiple lines?
pushd ~
git clone https://github.com/SimonDanisch/ReferenceImages
popd
pushd ~/ReferenceImages
git checkout gitlab/update
git reset --soft HEAD~1
popd
julia test/upgrade_recordings.jl
cd ~/ReferenceImages
git commit -am "Update reference images based on commit $COMMIT_SHA"
git push -f
Add this at the very beginning or under troubleshooting
I do not see where the @substep
macro is defined. yet it is used places like #134
I'd like to plan the port of Plots examples (see http://docs.juliaplots.org/latest/examples/gr/) to MakieGallery. For this, we'll need to add some recipes to support things like histograms (StatsMakie?), open-high-low-close (OHLC) plots, and more.
If you have a nice translation of a Plots example to Makie, please put the code and figures up here, and open a pull request to have it added to the examples!
I am trying to run examples involving 3D arrows in Julia 1.2. So far I have no luck, and I get the error and warning in the examples "Arrows on Sphere" , "Arrows 3D" and "Arrows on hemisphere":
scene = mesh(Sphere(Point3f0(0), 0.9f0), transparency=true, alpha=0.05)
WARNING: both AbstractPlotting and GeometryTypes export "attributes"; uses of it in module GLAbstraction must be qualified
Error showing value of type Scene:
ERROR: UndefVarError: attributes not defined
Thank you all for the marvelous work with Makie!
Running ]test Makie
, I get this
running test
running test_1
running test_1_2
running test_1_2_3
running test_1_2_3_4
running test_1_2_3_4_5
running test_1_2_3_4_5_6
running test_1_2_3_4_5_6_7
running test_1_2_3_4_5_6_7_8
running test_1_2_3_4_5_6_7_8_9
running test_1_2_3_4_5_6_7_8_9_10
running test_1_2_3_4_5_6_7_8_9_10_11
running test_1_2_3_4_5_6_7_8_9_10_11_12
running test_1_2_3_4_5_6_7_8_9_10_11_12_13
running test_1_2_3_4_5_6_7_8_9_10_11_12_13_14
running test_1_2_3_4_5_6_7_8_9_10_11_12_13_14_15
running test_1_2_3_4_5_6_7_8_9_10_11_12_13_14_15_16
running test_1_2_3_4_5_6_7_8_9_10_11_12_13_14_15_16_17
running test_1_2_3_4_5_6_7_8_9_10_11_12_13_14_15_16_17_18
running test_1_2_3_4_5_6_7_8_9_10_11_12_13_14_15_16_17_18_19
running test_1_2_3_4_5_6_7_8_9_10_11_12_13_14_15_16_17_18_19_20
running test_1_2_3_4_5_6_7_8_9_10_11_12_13_14_15_16_17_18_19_20_21
running test_1_2_3_4_5_6_7_8_9_10_11_12_13_14_15_16_17_18_19_20_21_22
which is not very descriptive. Can these be given names?
There's a section about which colors can be used, so we should also talk about which font's can be used.
In my code, I never declare a Scene
explicitly. Does that mean that the first thing I declare(ex. a line()
) is the parent?
When I run this code, https://simondanisch.github.io/ReferenceImages/gallery//sliders/index.html, Nothing occurs. Please add some comments or links to the code itself so I know what the expected output is and how to use the example.
From @jkrumbiegel in Slack:
For stuff like this update_limits! special case, maybe it would be beneficial to put something like a block diagram of the Makie render loop into the docs? I assumed that's sort of how it worked but I can't remember reading about this anywhere
When I set the resolution of a scene, the size of the makie window does not change, so how do I change the window size?
http://makie.juliaplots.org/dev/interaction.html#Node-interaction-pipeline-1
I am going to write a more complex and clear example using nodes where the node is declared, and then is updated iteratively in a loop. (The existing example doesn’t help me much) This is important and will showcase the benefit of updating a node vs re-rendering the entire makie scene each time.
Scene
s as text
tutorial_title
image_on_geometry__earth_
surface___wireframe___contour
(also seems to have a @time
somewhere in there)image_on_geometry__moon_
image_on_geometry__earth_
earth___ships
(why? could be robot_arm
)worldclim_visualization
http://makie.juliaplots.org/stable/interaction.html#Animation-using-time-1
If you try running the code here ^, I get an error.
#Example Plotting
using Makie
time = Node(0.0)
scene = Scene()
time = Node(0.0)
myfunc(v, t) = sin.(v, t)
scene = lines!(
scene,
lift(t -> f.(range(0, stop=2pi, length=50), t), time)
)
push!(time, Base.time())
**ERROR: LoadError: UndefVarError: f not defined Stacktrace: [1] (::getfield(Main, Symbol("##9#10")))(::Float64) at /Users/logankilpatrick/Desktop/TestPlotting.jl:12 [2] lift(::Function, ::Observables.Observable{Float64}) at /Users/logankilpatrick/.julia/packages/AbstractPlotting/zoqRL/src/interaction/nodes.jl:9 [3] top-level scope at none:0**
From this page: https://github.com/JuliaPlots/MakieGallery.jl/blob/master/docs/src/index.md
If I click "Plotting functions overview", I get an error 404 page not found.
This looks like the desired page: https://github.com/JuliaPlots/MakieGallery.jl/blob/master/docs/src/src-functions.md
But it's not clear how all of the functions get here if there's no reference to them on that link above.
$ julia make.jl
WARNING: using Makie.AbstractPlotting in module Main conflicts with an existing identifier.
[ Info: Generating functions overview
[ Info: Generating attributes page
[ Info: Generating axis page
[ Info: Generating signatures page
[ Info: Running `makedocs` with Documenter.
ERROR: LoadError: syntax: cannot juxtapose string literal
in expression starting at /home/h/projects/MakieGallery.jl/docs/make.jl:154
$ julia -v
julia version 1.1.1
Am I doing something wrong here?
Please add the link as the topic/description at the top of the repo so I don’t have to navigate to a different repo/screen to get from this repo to the docs website.
I am testing Makie on Julia 1.1
with a MacBookPro.
I have got the following error:
running type_recipe_for_molecule_simulation
ERROR: LoadError: LoadError: KeyError: key "LD_LIBRARY_PATH" not found
and finally,
in expression starting at worldclim_visualization:4
in expression starting at /Users/myname/.julia/packages/Makie/ogxgz/test/runtests.jl:12
ERROR: Package Makie errored during testing
http://makie.juliaplots.org/stable/basic-tutorials.html#Set-the-Scene-1
So in the docs, it shows scene = Scene()
and then says it will be blank.
A few lines later it says scene = scatter(x, y, color = colors)
...
So is the implication that a scatter plot is a scene? Or is there just not any further docs on the Scene
?
Whichever is the case, can we update these docs to better reflect the situation?
MakieGallery.jl/src/testruns.jl
Lines 79 to 117 in e36d377
Do we need this as a function, or could it be copy-pasted into test/runtests.jl
? For some reason, the testsets don't show... Nevermind, found it.
https://makie.juliaplots.org/dev/scenes.html
This does not talk about the resolution, I will update it such that people know this exists!
Now that I have compiled glfw3 from scratch, and also sorta figured out PackageCompiler, so Makie loads in under 10 seconds...
I CANT FIGURE OUT HOW TO GENERATE ANY OF THESE FANTASTIC EXAMPLES....(i'm slightly embarrassed to admit -- but Makie uses some serious Julia-FU, way beyond my current understanding...)
julia> using MakieGallery
julia> MakieGallery.eval("snake.jl")
"snake.jl"
NOPE
julia> MakieGallery.eval_example("snake.jl")
NOPE
ERROR: type String has no field toplevel
Stacktrace:
[1] getproperty(::Any, ::Symbol) at ./sysimg.jl:18
[2] #print_code#42(::String, ::String, ::String, ::Bool, ::getfield(MakieGallery, Symbol("##45#49")), ::getfield(MakieGallery, Symbol("##46#50
This seems to be a very important function but doesn't have its own section in the docs. I think it should be talked about explicitly. I'll throw something together about it.
With reference to a conversation with @dextorious on Slack. It seems that the scene needed to be explicitly displayed (or at least it needed to be fully updated) before plots constructed after the last display(scene)
call would show. Solution there was to preconstruct plots, but obviously that doesn't make sense for some situations.
Downloading registries and packages into.julia
during CI takes a decent amount of time...I wonder if we could cache it using Gitlab CI's caching features? I should have some spare time on my hands in a week or so to do it.
WIth the advent of Julia 1.3.0-alpha, I'm feeling a need for speed with MakieGallery's test suite. Perhaps we could look at parallelizing it now that IO is thread-safe? Will experiment on my local machine.
In troubleshooting why MakieGallery wasn't being added even though the add MakieGallery
seemed to work fine, I decided to test MakieGallery
and this came back:
(v1.1) pkg> test MakieGallery
Testing MakieGallery
Resolving package versions...
Status `/tmp/tmpAf5smv/Manifest.toml`
[621f4979] AbstractFFTs v0.3.2
[537997a7] AbstractPlotting v0.9.3
[13072b0f] AxisAlgorithms v0.3.0
[39de3d68] AxisArrays v0.3.0
[9e28174c] BinDeps v0.8.10
[b99e7846] BinaryProvider v0.5.3
[631607c0] CMake v1.1.1
[d5fb7624] CMakeWrapper v0.2.2
[336ed68f] CSV v0.4.3
[aafaddc9] CatIndices v0.2.0
[324d7699] CategoricalArrays v0.5.2
[944b1d66] CodecZlib v0.5.1
[a2cac450] ColorBrewer v0.4.0
[3da002f7] ColorTypes v0.7.5
[c3611d14] ColorVectorSpace v0.6.2
[5ae59095] Colors v0.9.5
[34da2185] Compat v1.4.0
[ed09eef8] ComputationalResources v0.3.0
[8f4d0f93] Conda v1.1.1
[d38c429a] Contour v0.5.1
[150eb455] CoordinateTransformations v0.5.0
[dc8bdbbb] CustomUnitRanges v0.2.0
[a93c6f00] DataFrames v0.17.0
[9a8bc11e] DataStreams v0.4.1
[864edb3b] DataStructures v0.15.0
[ffbed154] DocStringExtensions v0.6.0
[e30172f5] Documenter v0.21.0
[8f5d6c58] EzXML v0.9.0
[4f61f5a4] FFTViews v0.2.0
[7a1cc6ca] FFTW v0.2.4
[5789e2e9] FileIO v1.0.5
[53c48c17] FixedPointNumbers v0.5.3
[b38be410] FreeType v2.1.1
[663a7486] FreeTypeAbstraction v0.4.1
[add2ef01] GDAL v0.2.0
[f7f18e0c] GLFW v2.3.0
[e9467ef8] GLMakie v0.0.4
[4d00f742] GeometryTypes v0.7.2
[a2bd30eb] Graphics v0.4.0
[d9be37ee] Homebrew v0.7.1
[bbac6d45] IdentityRanges v0.2.0
[2803e5a7] ImageAxes v0.5.0
[a09fc81d] ImageCore v0.7.3
[6a3955dd] ImageFiltering v0.5.2
[6218d12a] ImageMagick v0.7.1
[02fcd773] ImageTransformations v0.7.1
[9b13fd28] IndirectArrays v0.5.0
[a98d9a8b] Interpolations v0.11.1
[8197267c] IntervalSets v0.3.1
[c8e1da08] IterTools v1.1.1
[82899510] IteratorInterfaceExtensions v0.1.1
[682c06a0] JSON v0.20.0
[1914dd2f] MacroTools v0.4.4
[ee78f7c6] Makie v0.9.1
[dbd62bd0] MakieGallery v0.0.2
[dbb5928d] MappedArrays v0.2.1
[7269a6da] MeshIO v0.3.1
[e1d29d7a] Missings v0.4.0
[78c3b35d] Mocking v0.5.7
[66fc600b] ModernGL v1.0.0
[77ba4419] NaNMath v0.3.2
[4d1e1d77] Nullables v0.0.8
[510215fc] Observables v0.2.3
[6fe1bfb0] OffsetArrays v0.9.1
[bac558e1] OrderedCollections v1.0.2
[19eb6ba3] Packing v0.3.0
[5432bcbf] PaddedViews v0.4.2
[d96e819e] Parameters v0.10.3
[69de0a69] Parsers v0.2.16
[995b91a9] PlotUtils v0.5.5
[27ebfcd6] Primes v0.4.0
[dca85d43] QuartzImageIO v0.5.2
[df47a6cb] RData v0.6.0
[ce6b1742] RDatasets v0.6.1
[b3c3ace0] RangeArrays v0.3.1
[c84ed2f1] Ratios v0.3.0
[189a3867] Reexport v0.2.0
[ae029012] Requires v0.5.2
[6038ab10] Rotations v0.10.0
[992d4aef] Showoff v0.2.1
[73760f76] SignedDistanceFields v0.4.0
[699a6c99] SimpleTraits v0.8.0
[a2af1166] SortingAlgorithms v0.3.1
[276daf66] SpecialFunctions v0.7.2
[90137ffa] StaticArrays v0.10.2
[2913bbd2] StatsBase v0.27.0
[3783bdb8] TableTraits v0.4.1
[bd369af6] Tables v0.1.14
[06e1c1a7] TiledIteration v0.2.3
[f269a46b] TimeZones v0.8.5
[3bb67fe8] TranscodingStreams v0.8.1
[30578b45] URIParser v0.4.0
[1cfade01] UnicodeFun v0.4.0
[81def892] VersionParsing v1.1.3
[ea10d353] WeakRefStrings v0.5.4
[efce3f68] WoodburyMatrices v0.4.1
[2a0f44e3] Base64 [`@stdlib/Base64`]
[ade2ca70] Dates [`@stdlib/Dates`]
[8bb1440f] DelimitedFiles [`@stdlib/DelimitedFiles`]
[8ba89e20] Distributed [`@stdlib/Distributed`]
[9fa8497b] Future [`@stdlib/Future`]
[b77e0a4c] InteractiveUtils [`@stdlib/InteractiveUtils`]
[76f85450] LibGit2 [`@stdlib/LibGit2`]
[8f399da3] Libdl [`@stdlib/Libdl`]
[37e2e46d] LinearAlgebra [`@stdlib/LinearAlgebra`]
[56ddb016] Logging [`@stdlib/Logging`]
[d6f4376e] Markdown [`@stdlib/Markdown`]
[a63ad114] Mmap [`@stdlib/Mmap`]
[44cfe95a] Pkg [`@stdlib/Pkg`]
[de0858da] Printf [`@stdlib/Printf`]
[9abbd945] Profile [`@stdlib/Profile`]
[3fa0cd96] REPL [`@stdlib/REPL`]
[9a3f8284] Random [`@stdlib/Random`]
[ea8e919c] SHA [`@stdlib/SHA`]
[9e88b42a] Serialization [`@stdlib/Serialization`]
[1a1011a3] SharedArrays [`@stdlib/SharedArrays`]
[6462fe0b] Sockets [`@stdlib/Sockets`]
[2f01184e] SparseArrays [`@stdlib/SparseArrays`]
[10745b16] Statistics [`@stdlib/Statistics`]
[8dfed614] Test [`@stdlib/Test`]
[cf7118a7] UUIDs [`@stdlib/UUIDs`]
[4ec0a83e] Unicode [`@stdlib/Unicode`]
[ Info: starting from index 1
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 54961 100 54961 0 0 261k 0 --:--:-- --:--:-- --:--:-- 261k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 106k 100 106k 0 0 127k 0 --:--:-- --:--:-- --:--:-- 127k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1475k 100 1475k 0 0 1355k 0 0:00:01 0:00:01 --:--:-- 1355k
ERROR: LoadError: LoadError: type Zip has no field a
Stacktrace:
[1] getproperty(::Any, ::Symbol) at ./sysimg.jl:18
[2] (::getfield(AbstractPlotting, Symbol("##561#563")){Tuple{Base.Iterators.Zip{Tuple{Array{Float64,1},Array{String,1}}},Base.Iterators.Zip{Tuple{Array{Float64,1},Array{String,1}}},Base.Iterators.Zip{Tuple{Array{Float64,1},Array{String,1}}}},Tuple{Float32,Float32,Float32},Tuple{Float32,Float32,Float32}})(::Int64) at /home/gregorylemieux/.julia/packages/AbstractPlotting/MaWhS/src/basic_recipes/axis.jl:493
[3] iterate at ./generator.jl:47 [inlined]
[4] _collect at ./array.jl:619 [inlined]
[5] collect_similar at ./array.jl:548 [inlined]
[6] map at ./abstractarray.jl:2018 [inlined]
[7] draw_axis3d(::Annotations{...}, ::LineSegments{...}, ::Tuple{Tuple{Float32,Float32},Tuple{Float32,Float32},Tuple{Float32,Float32}}, ::Tuple{Array{Float64,1},Array{Float64,1},Array{Float64,1}}, ::Tuple{Array{String,1},Array{String,1},Array{String,1}}, ::Tuple{Bool,Bool,Bool}, ::Vararg{Any,N} where N) at /home/gregorylemieux/.julia/packages/AbstractPlotting/MaWhS/src/basic_recipes/axis.jl:493
[8] map_once(::Function, ::Observables.Observable{Annotations{...}}, ::Observables.Observable{LineSegments{...}}, ::Vararg{Observables.Observable,N} where N) at /home/gregorylemieux/.julia/packages/AbstractPlotting/MaWhS/src/interaction/nodes.jl:82
[9] plot!(::Scene, ::Type{Axis3D{...}}, ::Attributes, ::Observables.Observable{GeometryTypes.HyperRectangle{3,Float32}}) at /home/gregorylemieux/.julia/packages/AbstractPlotting/MaWhS/src/basic_recipes/axis.jl:584
[10] axis3d!(::Scene, ::Attributes, ::Observables.Observable{GeometryTypes.HyperRectangle{3,Float32}}) at /home/gregorylemieux/.julia/packages/AbstractPlotting/MaWhS/src/recipes.jl:53
[11] add_axis!(::Scene) at /home/gregorylemieux/.julia/packages/AbstractPlotting/MaWhS/src/interfaces.jl:624
[12] plot!(::Scene, ::Type{Mesh{...}}, ::Attributes, ::Tuple{Observables.Observable{GLNormalUVMesh}}, ::Observables.Observable{Tuple{GLNormalUVMesh}}) at /home/gregorylemieux/.julia/packages/AbstractPlotting/MaWhS/src/interfaces.jl:552
[13] #plot!#193(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Scene, ::Type{Mesh{...}}, ::Attributes, ::GLNormalUVMesh) at /home/gregorylemieux/.julia/packages/AbstractPlotting/MaWhS/src/interfaces.jl:507
[14] plot! at /home/gregorylemieux/.julia/packages/AbstractPlotting/MaWhS/src/interfaces.jl:477 [inlined]
[15] #mesh#126 at /home/gregorylemieux/.julia/packages/AbstractPlotting/MaWhS/src/recipes.jl:17 [inlined]
[16] (::getfield(AbstractPlotting, Symbol("#kw##mesh")))(::NamedTuple{(:color, :shading),Tuple{Array{ColorTypes.RGB{FixedPointNumbers.Normed{UInt8,8}},2},Bool}}, ::typeof(mesh), ::GLNormalUVMesh) at ./none:0
[17] top-level scope at none:0
[18] include_string(::Module, ::String, ::String) at ./loading.jl:1008
[19] #eval_example#74(::Base.Iterators.Pairs{Symbol,getfield(MakieGallery, Symbol("#output_path#99")){String},Tuple{Symbol},NamedTuple{(:outputfile,),Tuple{getfield(MakieGallery, Symbol("#output_path#99")){String}}}}, ::Function, ::MakieGallery.CellEntry) at /home/gregorylemieux/.julia/packages/MakieGallery/86acG/src/database.jl:536
[20] #eval_example at ./none:0 [inlined]
[21] (::getfield(MakieGallery, Symbol("##78#79")){Base.Iterators.Pairs{Symbol,getfield(MakieGallery, Symbol("#output_path#99")){String},Tuple{Symbol},NamedTuple{(:outputfile,),Tuple{getfield(MakieGallery, Symbol("#output_path#99")){String}}}},getfield(MakieGallery, Symbol("##98#101")){Tuple{Int64,Int64},String}})(::MakieGallery.CellEntry) at /home/gregorylemieux/.julia/packages/MakieGallery/86acG/src/database.jl:550
[22] #enumerate_examples#61(::Int64, ::Nothing, ::Function, ::getfield(MakieGallery, Symbol("##78#79")){Base.Iterators.Pairs{Symbol,getfield(MakieGallery, Symbol("#output_path#99")){String},Tuple{Symbol},NamedTuple{(:outputfile,),Tuple{getfield(MakieGallery, Symbol("#output_path#99")){String}}}},getfield(MakieGallery, Symbol("##98#101")){Tuple{Int64,Int64},String}}) at /home/gregorylemieux/.julia/packages/MakieGallery/86acG/src/database.jl:498
[23] #enumerate_examples at ./none:0 [inlined]
[24] #eval_examples#77(::Int64, ::Nothing, ::Base.Iterators.Pairs{Symbol,getfield(MakieGallery, Symbol("#output_path#99")){String},Tuple{Symbol},NamedTuple{(:outputfile,),Tuple{getfield(MakieGallery, Symbol("#output_path#99")){String}}}}, ::Function, ::getfield(MakieGallery, Symbol("##98#101")){Tuple{Int64,Int64},String}) at /home/gregorylemieux/.julia/packages/MakieGallery/86acG/src/database.jl:549
[25] (::getfield(MakieGallery, Symbol("#kw##eval_examples")))(::NamedTuple{(:outputfile, :start),Tuple{getfield(MakieGallery, Symbol("#output_path#99")){String},Int64}}, ::typeof(MakieGallery.eval_examples), ::Function) at ./none:0
[26] #record_examples#96(::Tuple{Int64,Int64}, ::Bool, ::Bool, ::Function, ::String) at /home/gregorylemieux/.julia/packages/MakieGallery/86acG/src/io.jl:190
[27] record_examples(::String) at /home/gregorylemieux/.julia/packages/MakieGallery/86acG/src/io.jl:175
[28] top-level scope at none:0
[29] include at ./boot.jl:326 [inlined]
[30] include_relative(::Module, ::String) at ./loading.jl:1038
[31] include(::Module, ::String) at ./sysimg.jl:29
[32] include(::String) at ./client.jl:403
[33] top-level scope at none:0
in expression starting at image_on_geometry__earth_:11
in expression starting at /home/gregorylemieux/.julia/packages/MakieGallery/86acG/test/runtests.jl:20
ERROR: Package MakieGallery errored during testing
The docs here: http://makie.juliaplots.org/stable/interaction.html#Event-triggering-1
will cause people confusion.
It read's as tough push!(x, 5.0);
will reult in:
5.0
.... where in fact it will result in x just got the value 5.0
.
The ';' also serves no purpose. I will update this when I get a chance this weekend.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.