We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
type Zip has no field a
From the examples at https://gist.github.com/SimonDanisch/8f5489cffaf6b89c9a3712ba3eb12a84
(they also have the old MakiE name, and some minor <1.0 syntax errors such as linspace. I'd do a PR on that but wanted to check the below error first)
MakiE
linspace
#julia using Makie, GeometryTypes, Colors, Interact scene = Scene(resolution = (500, 500)) large_sphere = HyperSphere(Point3f0(0), 1f0) positions = decompose(Point3f0, large_sphere) linepos = view(positions, rand(1:length(positions), 1000)) lines(linepos, linewidth = 0.1, color = :black) scatter(positions, strokewidth = 0.02, strokecolor = :white, color = RGBA(0.9, 0.2, 0.4, 0.6)) r = linspace(-1.5, 1.5, 5) axis(r, r, r) center!(scene)
type Zip has no field a Stacktrace: [1] getproperty(::Any, ::Symbol) at ./sysimg.jl:18 [2] (::getfield(AbstractPlotting, Symbol("##402#404")){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 /Users/IanB/.julia/packages/AbstractPlotting/ujaz8/src/basic_recipes/axis.jl:474 [3] iterate at ./generator.jl:47 [inlined] [4] _collect at ./array.jl:640 [inlined] [5] collect_similar at ./array.jl:569 [inlined] [6] map at ./abstractarray.jl:2014 [inlined] [7] draw_axis(::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}, ::Tuple{Bool,Bool,Bool}, ::Tuple{Bool,Bool,Bool}, ::Tuple{String,String,String}, ::Tuple{RGB{Float64},RGB{Float64},RGB{Float64}}, ::Tuple{Float64,Float64,Float64}, ::Tuple{Quaternion{Float64},Quaternion{Float32},Quaternion{Float64}}, ::Tuple{Tuple{Symbol,Symbol},Tuple{Symbol,Symbol},Tuple{Symbol,Symbol}}, ::Tuple{String,String,String}, ::Int64, ::Tuple{RGBA{Float32},RGBA{Float32},RGBA{Float32}}, ::Tuple{Int64,Int64,Int64}, ::Tuple{RGB{Float64},RGB{Float64},RGB{Float64}}, ::Tuple{RGBA{Float32},RGBA{Float32},RGBA{Float32}}, ::Tuple{Quaternion{Float64},Quaternion{Float32},Quaternion{Float64}}, ::Tuple{Int64,Int64,Int64}, ::Tuple{Tuple{Symbol,Symbol},Tuple{Symbol,Symbol},Tuple{Symbol,Symbol}}, ::Tuple{String,String,String}, ::Int64) at /Users/IanB/.julia/packages/AbstractPlotting/ujaz8/src/basic_recipes/axis.jl:474 [8] map_once(::Function, ::Reactive.Signal{Annotations{...}}, ::Reactive.Signal{LineSegments{...}}, ::Vararg{Reactive.Signal,N} where N) at /Users/IanB/.julia/packages/AbstractPlotting/ujaz8/src/interaction/nodes.jl:80 [9] plot!(::Scene, ::Type{Axis3D{...}}, ::Attributes, ::Reactive.Signal{Tuple{Tuple{Float32,Float32},Tuple{Float32,Float32},Tuple{Float32,Float32}}}) at /Users/IanB/.julia/packages/AbstractPlotting/ujaz8/src/basic_recipes/axis.jl:565 [10] axis3d!(::Scene, ::Attributes, ::Reactive.Signal{Tuple{Tuple{Float32,Float32},Tuple{Float32,Float32},Tuple{Float32,Float32}}}) at /Users/IanB/.julia/packages/AbstractPlotting/ujaz8/src/recipes.jl:80 [11] plot!(::Scene, ::Lines{...}, ::Attributes) at /Users/IanB/.julia/packages/AbstractPlotting/ujaz8/src/basic_recipes/basic_recipes.jl:388 [12] plot!(::Scene, ::Type{Lines{...}}, ::Attributes, ::SubArray{Point{3,Float32},1,Array{Point{3,Float32},1},Tuple{Array{Int64,1}},false}) at /Users/IanB/.julia/packages/AbstractPlotting/ujaz8/src/interfaces.jl:392 [13] #plot!#155 at /Users/IanB/.julia/packages/AbstractPlotting/ujaz8/src/interfaces.jl:369 [inlined] [14] #plot! at ./none:0 [inlined] [15] #plot#149 at /Users/IanB/.julia/packages/AbstractPlotting/ujaz8/src/interfaces.jl:356 [inlined] [16] #plot at ./none:0 [inlined] [17] #lines#100 at /Users/IanB/.julia/packages/AbstractPlotting/ujaz8/src/recipes.jl:107 [inlined] [18] (::getfield(AbstractPlotting, Symbol("#kw##lines")))(::NamedTuple{(:linewidth, :color),Tuple{Float64,Symbol}}, ::typeof(lines), ::SubArray{Point{3,Float32},1,Array{Point{3,Float32},1},Tuple{Array{Int64,1}},false}) at ./none:0 [19] top-level scope at In[20]:7
The text was updated successfully, but these errors were encountered:
Oh yeah, they're super old... Needs to be:
using Makie, GeometryTypes, Colors scene = Scene(resolution = (500, 500)) large_sphere = HyperSphere(Point3f0(0), 1f0) positions = decompose(Point3f0, large_sphere) linepos = view(positions, rand(1:length(positions), 1000)) lines!(linepos, linewidth = 0.1, color = :black) scatter!(positions, strokewidth = 0.02, strokecolor = :white, color = RGBA(0.9, 0.2, 0.4, 0.6))
Sorry, something went wrong.
yscale=log10
No branches or pull requests
From the examples at
https://gist.github.com/SimonDanisch/8f5489cffaf6b89c9a3712ba3eb12a84
(they also have the old
MakiE
name, and some minor <1.0 syntax errors such aslinspace
. I'd do a PR on that but wanted to check the below error first)The text was updated successfully, but these errors were encountered: