# \[ANN\] Makie v.0.13

**URL:** <https://discourse.julialang.org/t/ann-makie-v-0-13/61522>\
**Category:** Package Announcements\
**Tags:** makie\
**Created:** [May 20, 2021, 3:06pm UTC](https://discourse.julialang.org/t/ann-makie-v-0-13/61522 "2021-05-20T15:06:54Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [May 21, 2021, 12:30am UTC](https://discourse.julialang.org/t/ann-makie-v-0-13/61522/21 "2021-05-21T00:30:49Z")

</div>

Very impressive and exciting possibilities. Let me ask about this.  
Imagine that instead of a surface we had a point cloud. Would it be possible to draw a polygon that encloses the ellipses and mark those points somehow (visually they would change color). And after that export the point cloud with those points flagged?

(Basically, I’m asking if one can do multi-beam bathymetry data cleaning)

 ![](https://global.discourse-cdn.com/julialang/original/3X/6/7/6733b0f8766e05e4408e8175f6a351b78f2b318a.png)

Thanks

---

<div class="post-metadata">

**Author:** ![ffreyer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ffreyer/32/21569_2.png) [@ffreyer](https://discourse.julialang.org/u/ffreyer)\
**Post date:** [May 21, 2021, 1:19am UTC](https://discourse.julialang.org/t/ann-makie-v-0-13/61522/22 "2021-05-21T01:19:21Z")

</div>

Hmm, probably? It would be a lot of work though.

1. Set up some hotkey to trace mousepositions. That’s possible via `fig.scene.events.mousebutton` and `fig.scene.events.mouseposition`.
2. Convert the traced path to a polygon. Might be helpful to check out the [poly](https://github.com/JuliaPlots/Makie.jl/blob/master/src/basic_recipes/poly.jl) recipe code in Makie

From that point you have two options. The easier way would be to use the inbuilt point picking, i.e. `pick(scene::SceneLike, rect::IRect2D)` and filter all the points inside the polygon you’ve drawn. This will only capture visible points though. The other option is to do `point in polygon` for each point in 3d. You can probably reuse the [ray casting](https://github.com/JuliaPlots/Makie.jl/blob/291f8f6d19f0f6b9b6d762aef698e2b079923a22/src/interaction/inspector.jl#L80) from lines to extrude and project each point of the polygon. I don’t think GeometryBasics has a `point in mesh`, maybe `Meshes` has it, if not you’d have to implement it as well.

---

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [May 21, 2021, 1:44am UTC](https://discourse.julialang.org/t/ann-makie-v-0-13/61522/23 "2021-05-21T01:44:11Z")

</div>

Thanks for the pointers but meanwhile why doesn’t this plot a scatter points plot?

```julia
f = Figure(resolution = (1200, 800), fontsize = 14)
ax = Axis3(f[fldmod1(1, 2)...], aspect = (1,1,1));
GLMakie.scatter!(rand(10), rand(10), rand(10))

```

---

<div class="post-metadata">

**Author:** ![Humphrey\_Lee](https://avatars.discourse-cdn.com/v4/letter/h/a88e4f/32.png) [@Humphrey\_Lee](https://discourse.julialang.org/u/Humphrey_Lee)\
**Post date:** [May 21, 2021, 3:43am UTC](https://discourse.julialang.org/t/ann-makie-v-0-13/61522/24 "2021-05-21T03:43:48Z")

</div>

> [@jules](#):
>
> Thanks to @sdanisch @ffreyer and @piever for their work on this and AlgebraOfGraphics, that makes use of some of the new features in its upcoming version.

Would you mind say something about “ **AlgebraOfGraphics** ”? I noticed there is a package called [AlgebraOfGraphics.jl](https://github.com/JuliaPlots/AlgebraOfGraphics.jl). Thanks.

---

<div class="post-metadata">

**Author:** ![jzr](https://avatars.discourse-cdn.com/v4/letter/j/eb9ed0/32.png) [@jzr](https://discourse.julialang.org/u/jzr)\
**Post date:** [May 21, 2021, 3:57am UTC](https://discourse.julialang.org/t/ann-makie-v-0-13/61522/25 "2021-05-21T03:57:34Z")

</div>

> [@Upcoming AlgebraOfGraphics release](https://discourse.julialang.org/t/upcoming-algebraofgraphics-release/60968):
>
> This is a pre-announcement about an upcoming release of [AlgebraOfGraphics](https://github.com/JuliaPlots/AlgebraOfGraphics.jl): [logo\_aog] AlgebraOfGraphics defines a language to make data visualizations by combining basic building blocks with \* and +. It is based on [Makie](https://github.com/JuliaPlots/Makie.jl) to actually draw the plots. The code base had grown a bit out of hand and has mostly been rewritten to make sure that the library works robustly. It still will take a little bit of work before tagging the next release, but it’s probably a good time for users to try out the un…

---

<div class="post-metadata">

**Author:** ![TheLateKronos](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thelatekronos/32/12824_2.png) [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Post date:** [May 21, 2021, 8:24am UTC](https://discourse.julialang.org/t/ann-makie-v-0-13/61522/26 "2021-05-21T08:24:54Z")

</div>

Is it possible that `GLMakie` does not export `DataInspector` on its own, and that one needs to run `using Makie` to import the type?

```julia
julia> using GLMakie

julia> DataInspector
ERROR: UndefVarError: DataInspector not defined

julia> using Makie

julia> DataInspector
DataInspector

```

> **All relevant version-info:**
>
> ```julia
> (@v1.6) pkg> status
> Status `C:\Users\densb\.julia\environments\v1.6\Project.toml`
> [336ed68f] CSV v0.8.5
> [13f3f980] CairoMakie v0.5.1
> [39db22c5] ClipData v0.1.0
> [5ae59095] Colors v0.12.8
> [a6e380b2] ControlSystems v0.9.2
> [717857b8] DSP v0.6.10
> [a93c6f00] DataFrames v1.1.1
> [7a1cc6ca] FFTW v1.4.1
> [5789e2e9] FileIO v1.9.0
> [e9467ef8] GLMakie v0.2.7
> [916415d5] Images v0.24.1
> [d0351b0e] InspectDR v0.4.0
> [a98d9a8b] Interpolations v0.13.2
> [b964fa9f] LaTeXStrings v1.2.1
> [23fbe1c1] Latexify v0.15.5
> [2fda8390] LsqFit v0.12.0
> [23992714] MAT v0.10.1
> [ee78f7c6] Makie v0.13.1
> [eff96d63] Measurements v2.6.0
> [9b87118b] PackageCompiler v1.2.5
> [18e31ff7] Peaks v0.3.0
> [f0f68f2c] PlotlyJS v0.14.1
> [91a5bcdd] Plots v1.15.2
> [c3e4b0f8] Pluto v0.14.5
> [7f904dfe] PlutoUI v0.7.1
> [f27b6e38] Polynomials v1.2.1
> [08abe8d2] PrettyTables v1.0.1
> [d330b81b] PyPlot v2.9.0
> [3cdcf5f2] RecipesBase v1.1.1
> [295af30f] Revise v3.1.16
> [2913bbd2] StatsBase v0.33.8
> [0c5d862f] Symbolics v0.1.25
> [bd369af6] Tables v1.4.2
> [592b5752] Trapz v2.0.2
> [02ec7d09] Ueauty v0.1.0
> [1986cc42] Unitful v1.7.0
> [42071c24] UnitfulRecipes v1.2.0
> [8149f6b0] WAV v1.1.0
> [276b4fcb] WGLMakie v0.3.5
> [fdbf4ff8] XLSX v0.7.6
> 
> julia> versioninfo()
> Julia Version 1.6.1
> Commit 6aaedecc44 (2021-04-23 05:59 UTC)
> Platform Info:
> OS: Windows (x86_64-w64-mingw32)
> CPU: Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz
> WORD_SIZE: 64
> LIBM: libopenlibm
> LLVM: libLLVM-11.0.1 (ORCJIT, skylake)
> 
> ```

---

<div class="post-metadata">

**Author:** ![ffreyer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ffreyer/32/21569_2.png) [@ffreyer](https://discourse.julialang.org/u/ffreyer)\
**Post date:** [May 21, 2021, 12:47pm UTC](https://discourse.julialang.org/t/ann-makie-v-0-13/61522/27 "2021-05-21T12:47:05Z")

</div>

You’re behind on GLMakie. 0.3.0 is the latest version.

---

<div class="post-metadata">

**Author:** ![ffreyer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ffreyer/32/21569_2.png) [@ffreyer](https://discourse.julialang.org/u/ffreyer)\
**Post date:** [May 21, 2021, 12:59pm UTC](https://discourse.julialang.org/t/ann-makie-v-0-13/61522/28 "2021-05-21T12:59:06Z")

</div>

That seems to be an issue with Axis3… Doing the same with `LScene` works fine.

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://discourse.julialang.org/u/jules)\
**Post date:** [May 21, 2021, 1:12pm UTC](https://discourse.julialang.org/t/ann-makie-v-0-13/61522/29 "2021-05-21T13:12:16Z")

</div>

It’s an issue with scatter I think, exacerbated by the way that Axis3’s camera matrices are set up

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [May 21, 2021, 1:39pm UTC](https://discourse.julialang.org/t/ann-makie-v-0-13/61522/30 "2021-05-21T13:39:56Z")

</div>

Can we please get keyword arguments in `convert_arguments` so that type recipes like DifferentialEquations.jl’s can be converted to Makie?

---

<div class="post-metadata">

**Author:** ![TheLateKronos](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thelatekronos/32/12824_2.png) [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Post date:** [May 21, 2021, 2:20pm UTC](https://discourse.julialang.org/t/ann-makie-v-0-13/61522/31 "2021-05-21T14:20:01Z")

</div>

After updating GLMakie specifically, I seem to still have the wrong version. I don’t understand why. I really don’t expect personal IT support, and I am sure that it will be fine in some time, after things update.

Thanks you so much for your work, especially in the data-interaction department! It has been a large anticipation for me personally.

> **Output from trying to update, and checking version**
>
> ```julia (@v1.6) pkg\> update GLMakie; status GLMakie Updating registry at `C:\Users\densb\.julia\registries\General` Updating git-repo `https://github.com/JuliaRegistries/General.git` No Changes to `C:\Users\densb\.julia\environments\v1.6\Project.toml` Updating `C:\Users\densb\.julia\environments\v1.6\Manifest.toml` [b4f34e82] ↑ Distances v0.9.2 ⇒ v0.10.3 [31c24e10] ↑ Distributions v0.23.11 ⇒ v0.24.18 [1a297f60] ↑ FillArrays v0.9.7 ⇒ v0.11.7 [cd3eb016] ↑ HTTP v0.8.19 ⇒ v0.9.8 [82e4d734] ↑ ImageIO v0.4.1 ⇒ v0.5.4 [90014a1f] ↑ PDMats v0.10.1 ⇒ v0.11.0 [eebad327] + PkgVersion v0.1.1 [a03496cd] ↑ PlotlyBase v0.5.0 ⇒ v0.5.3 [92933f4c] + ProgressMeter v1.6.2 [276daf66] ↑ SpecialFunctions v0.10.3 ⇒ v1.4.1 [731e570b] + TiffImages v0.3.2 [5c2747f8] + URIs v1.3.0 [f7e6163d] + Kaleido_jll v0.1.0+0 Precompiling project... 37 dependencies successfully precompiled in 204 seconds (315 already precompiled) Status `C:\Users\densb\.julia\environments\v1.6\Project.toml` [e9467ef8] GLMakie v0.2.7 ```

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://discourse.julialang.org/u/jules)\
**Post date:** [May 21, 2021, 2:23pm UTC](https://discourse.julialang.org/t/ann-makie-v-0-13/61522/32 "2021-05-21T14:23:50Z")

</div>

do `]add GLMakie@0.3` and see what holds it back

---

<div class="post-metadata">

**Author:** ![sylvaticus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sylvaticus/32/203883_2.png) [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Post date:** [May 21, 2021, 8:56pm UTC](https://discourse.julialang.org/t/ann-makie-v-0-13/61522/33 "2021-05-21T20:56:43Z")

</div>

" Add one or more of the Makie backend packages [`GLMakie.jl`](https://github.com/JuliaPlots/GLMakie.jl) (OpenGL), [`CairoMakie.jl`](https://github.com/JuliaPlots/CairoMakie.jl) (Cairo), or [`WGLMakie.jl`](https://github.com/JuliaPlots/WGLMakie.jl) (WebGL)." (From the documentation)

I still find it a bit confusing… I find the Plots way that you install the main package, and it brings with it a default backend (and then you can install others) a more intuitive way than installing a backend in order to install the main plotting package…

---

<div class="post-metadata">

**Author:** ![jzr](https://avatars.discourse-cdn.com/v4/letter/j/eb9ed0/32.png) [@jzr](https://discourse.julialang.org/u/jzr)\
**Post date:** [May 21, 2021, 9:01pm UTC](https://discourse.julialang.org/t/ann-makie-v-0-13/61522/34 "2021-05-21T21:01:14Z")

</div>

I prefer the Makie way personally. I just install the backend I want instead of getting another backend installed accidentally like with Plots.jl.

---

<div class="post-metadata">

**Author:** ![TheLateKronos](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thelatekronos/32/12824_2.png) [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Post date:** [May 22, 2021, 6:48am UTC](https://discourse.julialang.org/t/ann-makie-v-0-13/61522/35 "2021-05-22T06:48:00Z")

</div>

PlotlyJS was the culprit. Thanks 🙂

---

<div class="post-metadata">

**Author:** ![JosephPollacco](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/josephpollacco/32/51404_2.png) [@JosephPollacco](https://discourse.julialang.org/u/JosephPollacco)\
**Post date:** [May 27, 2021, 8:00am UTC](https://discourse.julialang.org/t/ann-makie-v-0-13/61522/36 "2021-05-27T08:00:02Z")

</div>

**Makie** is a fantastic package for plotting , I would like to congratulate the team. I have no doubt that **Makie** will soon replace plots. 😀 😀 😀 😀

But when I upgraded from v0.13.7 to v0.13.8 it crashed with the following error by using Windows 10 😢 😢

```julia
ERROR: LoadError: MethodError: no method matching backend_show(::Missing, ::IOContext{IOStream}, ::MIME{Symbol("image/svg+xml")}, ::Makie.Scene)
Closest candidates are:
  backend_show(::Any, ::IO, ::MIME{Symbol("text/plain")}, ::Makie.Scene) at C:\Users\pollaccoj\.julia\packages\Makie\ZK3qM\src\display.jl:89
Stacktrace:
  [1] show(io::IOContext{IOStream}, m::MIME{Symbol("image/svg+xml")}, scene::Makie.Scene)
    @ Makie C:\Users\pollaccoj\.julia\packages\Makie\ZK3qM\src\display.jl:118
  [2] (::Makie.var"#900#901"{Float64, Float64, DataType, Makie.Scene})(s::IOStream)
    @ Makie C:\Users\pollaccoj\.julia\packages\Makie\ZK3qM\src\display.jl:249
  [3] open(::Makie.var"#900#901"{Float64, Float64, DataType, Makie.Scene}, ::String, ::Vararg{String, N} where N; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Base .\io.jl:330
  [4] open
    @ .\io.jl:328 [inlined]
  [5] save(file::FileIO.File{FileIO.DataFormat{:SVG}, String}, fig::Makie.Figure; resolution::Tuple{Int64, Int64}, pt_per_unit::Float64, px_per_unit::Float64)
    @ Makie C:\Users\pollaccoj\.julia\packages\Makie\ZK3qM\src\display.jl:243
  [6] save(file::FileIO.File{FileIO.DataFormat{:SVG}, String}, fig::Makie.Figure)
    @ Makie C:\Users\pollaccoj\.julia\packages\Makie\ZK3qM\src\display.jl:231
  [7] save(filename::String, fig::Makie.Figure; args::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Makie C:\Users\pollaccoj\.julia\packages\Makie\ZK3qM\src\display.jl:222
  [8] save(filename::String, fig::Makie.Figure)
    @ Makie C:\Users\pollaccoj\.julia\packages\Makie\ZK3qM\src\display.jl:222

```

---

<div class="post-metadata">

**Author:** ![JosephPollacco](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/josephpollacco/32/51404_2.png) [@JosephPollacco](https://discourse.julialang.org/u/JosephPollacco)\
**Post date:** [May 27, 2021, 8:02am UTC](https://discourse.julialang.org/t/ann-makie-v-0-13/61522/37 "2021-05-27T08:02:04Z")

</div>

When I run Test Makie I get the following warning which might be helpful for debugging:

```julia
WARNING: using GeometryBasics.volume in module ReferenceTests conflicts with an existing identifier.

```

---

<div class="post-metadata">

**Author:** ![JosephPollacco](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/josephpollacco/32/51404_2.png) [@JosephPollacco](https://discourse.julialang.org/u/JosephPollacco)\
**Post date:** [May 27, 2021, 8:36am UTC](https://discourse.julialang.org/t/ann-makie-v-0-13/61522/38 "2021-05-27T08:36:55Z")

</div>

> [@JosephPollacco](#):
>
> `WARNING: using GeometryBasics.volume in module ReferenceTests conflicts with an existing identifier.`

I opened an Issue #989 on the Makie GitHub.

---

<div class="post-metadata">

**Author:** ![EvoArt](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/evoart/32/25357_2.png) [@EvoArt](https://discourse.julialang.org/u/EvoArt)\
**Post date:** [May 28, 2021, 9:06pm UTC](https://discourse.julialang.org/t/ann-makie-v-0-13/61522/39 "2021-05-28T21:06:37Z")

</div>

> [@JosephPollacco](#):
>
> have no doubt that **Makie** will soon replace plots.

Replace in what context?

---

<div class="post-metadata">

**Author:** ![Hermes](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hermes/32/35562_2.png) [@Hermes](https://discourse.julialang.org/u/Hermes)\
**Post date:** [July 10, 2021, 1:56pm UTC](https://discourse.julialang.org/t/ann-makie-v-0-13/61522/40 "2021-07-10T13:56:21Z")

</div>

> [@jules](#):
>
> ```julia
> 
> ```

I present this alert when trying to reset the GLMakie v0.4.2 package. What should I do?

```julia
(@v1.6) pkg> test GLMakie
     Testing GLMakie
┌ Warning: Could not use exact versions of packages in manifest, re-resolving
└ @ Pkg.Operations C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:1526
ERROR: expected package `ReferenceTests [d37af2e0]` to be registered

julia> versioninfo()
Julia Version 1.6.1
Commit 6aaedecc44 (2021-04-23 05:59 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: AMD Ryzen 7 1800X Eight-Core Processor
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, znver1)

julia>

```

[Previous page](https://discourse.julialang.org/t/ann-makie-v-0-13/61522.md?page=1)

[Next page](https://discourse.julialang.org/t/ann-makie-v-0-13/61522.md?page=3)
