# Makie package

**URL:** <https://discourse.julialang.org/t/makie-package/17445>\
**Category:** General Usage\
**Tags:** question, package\
**Created:** [November 12, 2018, 6:55pm UTC](https://discourse.julialang.org/t/makie-package/17445 "2018-11-12T18:55:02Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![wiktorkujawa](https://avatars.discourse-cdn.com/v4/letter/w/bc8723/32.png) [@wiktorkujawa](https://discourse.julialang.org/u/wiktorkujawa)\
**Post date:** [November 12, 2018, 6:55pm UTC](https://discourse.julialang.org/t/makie-package/17445/1 "2018-11-12T18:55:02Z")

</div>

I have a problem with Makie package. On testing(Pkg.test(“Makie”)) it passed 81 of 100 tests. For example from these [tests](http://makie.juliaplots.org/stable/examples-heatmap.html) it didn’t passed test **“heatmap Interpolation”** where is the problem with vbox and hbox function which works in different package(“Interact.jl” which passed all the tests and just works) and **“Mouse Picking”** which have problem with on function(which also work in Interact package). I suspect the namespace conflict, but i’m not sure of that. Could you help me with this problem, if it’s more complicated, I can send some error comunicates from jupyter notebook.

---

<div class="post-metadata">

**Author:** ![wiktorkujawa](https://avatars.discourse-cdn.com/v4/letter/w/bc8723/32.png) [@wiktorkujawa](https://discourse.julialang.org/u/wiktorkujawa)\
**Post date:** [November 12, 2018, 9:52pm UTC](https://discourse.julialang.org/t/makie-package/17445/2 "2018-11-12T21:52:07Z")

</div>

Ok, now I know new things. Some functions just have been depreciated or moved to other packages like linspace → range or eye(x,x)-\>Matrix(I,x,x) and some of tests updates can’t keep up with these changes. If it goes about my topic problem, I still didn’t find the solution. I think it would be good to signalize these changes(actualizations and deprecations) in one topic, because these changes are too fast,

---

<div class="post-metadata">

**Author:** ![mbauman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mbauman/32/31082_2.png) [@mbauman](https://discourse.julialang.org/u/mbauman)\
**Post date:** [November 12, 2018, 9:58pm UTC](https://discourse.julialang.org/t/makie-package/17445/3 "2018-11-12T21:58:04Z")

</div>

Use version 0.7 if you’re upgrading packages to 1.0.

> [@PSA: use Julia 0.7 if you are upgrading](https://discourse.julialang.org/t/psa-use-julia-0-7-if-you-are-upgrading/13321):
>
> A lot of people are posting issues where their old code doesn’t work anymore on 1.0 because some function has been renamed or removed. The 0.7 release exists exactly for this reason: your old code will work on 0.7 and give you a specific warning about how to fix your code. If you have any old code, you should use 0.7 to get these warnings before switching to 1.0; even if you just have work habits that may need changing, you should probably use 0.7 for a while. If someone posts an issue like thi…

Makie is already 1.0 compatible, but it looks like the documentation build is broken so the stuff that appears online is out of date: [Documentation: linspace · Issue #148 · MakieOrg/Makie.jl · GitHub](https://github.com/JuliaPlots/Makie.jl/issues/148)

---

<div class="post-metadata">

**Author:** ![sdanisch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sdanisch/32/1406_2.png) [@sdanisch](https://discourse.julialang.org/u/sdanisch)\
**Post date:** [November 12, 2018, 11:06pm UTC](https://discourse.julialang.org/t/makie-package/17445/4 "2018-11-12T23:06:31Z")

</div>

I’m not really sure what you’re doing, since on master no tests should pass (haven’t updated the reference images yet) on tagged version you shouldn’t run into the “on” function. Finally, I’m not sure where you’re getting the deprecated examples from, because I actually did just update the documentation a few days ago, so there shouldn’t be any place in either source or documentation with deprecated examples anymore…  
Maybe everything just works fine, and the reference image tests just fail in 20% of the cases, because the installed fonts on your system are different - that’s a sort of known issue that I’ll fix soon!

---

<div class="post-metadata">

**Author:** ![alejandromerchan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/alejandromerchan/32/10500_2.png) [@alejandromerchan](https://discourse.julialang.org/u/alejandromerchan)\
**Post date:** [November 12, 2018, 11:29pm UTC](https://discourse.julialang.org/t/makie-package/17445/5 "2018-11-12T23:29:47Z")

</div>

I can confirm what @sdanisch said, I just tested Makie 0.9.0 on my Mac and it worked. One “big data” test was dropped before running, otherwise all tests passed. I’m using Julia 1.0.0.

---

<div class="post-metadata">

**Author:** ![wiktorkujawa](https://avatars.discourse-cdn.com/v4/letter/w/bc8723/32.png) [@wiktorkujawa](https://discourse.julialang.org/u/wiktorkujawa)\
**Post date:** [November 13, 2018, 7:33pm UTC](https://discourse.julialang.org/t/makie-package/17445/6 "2018-11-13T19:33:05Z")

</div>

I’m not sure if it will helps, but here are some screenshots will light up the problem.

 ![last_screen](https://global.discourse-cdn.com/julialang/original/3X/3/4/348401e68d432378775bf877e408bfc3657c59c1.png)

---

<div class="post-metadata">

**Author:** ![wiktorkujawa](https://avatars.discourse-cdn.com/v4/letter/w/bc8723/32.png) [@wiktorkujawa](https://discourse.julialang.org/u/wiktorkujawa)\
**Post date:** [November 13, 2018, 7:33pm UTC](https://discourse.julialang.org/t/makie-package/17445/7 "2018-11-13T19:33:36Z")

</div>

![failed_tests_1](https://global.discourse-cdn.com/julialang/original/3X/8/3/83070a819acb1ed56da8b27d993482f499bd25b7.png)

---

<div class="post-metadata">

**Author:** ![wiktorkujawa](https://avatars.discourse-cdn.com/v4/letter/w/bc8723/32.png) [@wiktorkujawa](https://discourse.julialang.org/u/wiktorkujawa)\
**Post date:** [November 13, 2018, 7:34pm UTC](https://discourse.julialang.org/t/makie-package/17445/8 "2018-11-13T19:34:09Z")

</div>

![failed_tests_2](https://global.discourse-cdn.com/julialang/original/3X/1/f/1f867cf9666584eeb325005683ccabf3b02fa4d8.png)

---

<div class="post-metadata">

**Author:** ![wiktorkujawa](https://avatars.discourse-cdn.com/v4/letter/w/bc8723/32.png) [@wiktorkujawa](https://discourse.julialang.org/u/wiktorkujawa)\
**Post date:** [November 13, 2018, 7:34pm UTC](https://discourse.julialang.org/t/makie-package/17445/9 "2018-11-13T19:34:43Z")

</div>

![failed_tests_3](https://global.discourse-cdn.com/julialang/original/3X/4/4/4440187d4d6a51bcd71348dfc2f3fdae7b706a6e.png)

---

<div class="post-metadata">

**Author:** ![wiktorkujawa](https://avatars.discourse-cdn.com/v4/letter/w/bc8723/32.png) [@wiktorkujawa](https://discourse.julialang.org/u/wiktorkujawa)\
**Post date:** [November 13, 2018, 7:35pm UTC](https://discourse.julialang.org/t/makie-package/17445/10 "2018-11-13T19:35:51Z")

</div>

and one of first screnshots:

 ![first](https://global.discourse-cdn.com/julialang/original/3X/d/d/dd7d7c9d4815e04c90b73e1c9a9fb3d1eacb3778.png)

---

<div class="post-metadata">

**Author:** ![wiktorkujawa](https://avatars.discourse-cdn.com/v4/letter/w/bc8723/32.png) [@wiktorkujawa](https://discourse.julialang.org/u/wiktorkujawa)\
**Post date:** [November 13, 2018, 8:42pm UTC](https://discourse.julialang.org/t/makie-package/17445/11 "2018-11-13T20:42:23Z")

</div>

And also one example “Mouse Picking”(should work, but it don’t). ![example_(Mouse%20Picking)](https://global.discourse-cdn.com/julialang/original/3X/1/9/19523eec40a134a5e3a47038ec27189b3392d09a.png)

---

<div class="post-metadata">

**Author:** ![sdanisch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sdanisch/32/1406_2.png) [@sdanisch](https://discourse.julialang.org/u/sdanisch)\
**Post date:** [November 13, 2018, 8:59pm UTC](https://discourse.julialang.org/t/makie-package/17445/12 "2018-11-13T20:59:39Z")

</div>

the tests look about right!  
For the mouse picking example, you might need to say:

```nohighlight
using Observables, Makie
...

```

---

<div class="post-metadata">

**Author:** ![wiktorkujawa](https://avatars.discourse-cdn.com/v4/letter/w/bc8723/32.png) [@wiktorkujawa](https://discourse.julialang.org/u/wiktorkujawa)\
**Post date:** [November 13, 2018, 9:20pm UTC](https://discourse.julialang.org/t/makie-package/17445/13 "2018-11-13T21:20:54Z")

</div>

It still doesn’t work.  
With adding this:

 ![observables](https://global.discourse-cdn.com/julialang/original/3X/b/b/bbc1b5d84b6854b299ab1efc7a769e6ea71b9210.png)

---

<div class="post-metadata">

**Author:** ![sdanisch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sdanisch/32/1406_2.png) [@sdanisch](https://discourse.julialang.org/u/sdanisch)\
**Post date:** [November 13, 2018, 9:27pm UTC](https://discourse.julialang.org/t/makie-package/17445/14 "2018-11-13T21:27:07Z")

</div>

Ah yeah, so you’re on the tagged version and trying the examples from the documentation 😉  
Sorry, in the rush to pack up a release, this got out of sync…  
But master should be relatively stable:

```julia
]add Makie#master AbstractPlotting#master

```

---

<div class="post-metadata">

**Author:** ![wiktorkujawa](https://avatars.discourse-cdn.com/v4/letter/w/bc8723/32.png) [@wiktorkujawa](https://discourse.julialang.org/u/wiktorkujawa)\
**Post date:** [November 13, 2018, 9:52pm UTC](https://discourse.julialang.org/t/makie-package/17445/15 "2018-11-13T21:52:44Z")

</div>

While ]add Makie it appears:

 ![Makie-master](https://global.discourse-cdn.com/julialang/original/3X/4/c/4c6d01bdfa452a3423331eb349dcad22dddab343.png)  
, so it seems I have to install again glfw, because I did it before, because I wrote  
_sudo apt-get install ffmpeg cmake xorg-dev_ in Linux Terminal.

---

<div class="post-metadata">

**Author:** ![sdanisch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sdanisch/32/1406_2.png) [@sdanisch](https://discourse.julialang.org/u/sdanisch)\
**Post date:** [November 13, 2018, 9:55pm UTC](https://discourse.julialang.org/t/makie-package/17445/16 "2018-11-13T21:55:27Z")

</div>

`] up`

---

<div class="post-metadata">

**Author:** ![wiktorkujawa](https://avatars.discourse-cdn.com/v4/letter/w/bc8723/32.png) [@wiktorkujawa](https://discourse.julialang.org/u/wiktorkujawa)\
**Post date:** [November 13, 2018, 10:13pm UTC](https://discourse.julialang.org/t/makie-package/17445/17 "2018-11-13T22:13:43Z")

</div>

It update GLFW and allow to install Makie from ]add Makie, but it still hadn’t change anything about the problem. Now I’m going sleep, but tomorrow I will continue to find an answer to this.

---

<div class="post-metadata">

**Author:** ![wiktorkujawa](https://avatars.discourse-cdn.com/v4/letter/w/bc8723/32.png) [@wiktorkujawa](https://discourse.julialang.org/u/wiktorkujawa)\
**Post date:** [November 14, 2018, 9:31am UTC](https://discourse.julialang.org/t/makie-package/17445/18 "2018-11-14T09:31:29Z")

</div>

Ok, I checked these tutorials and from example: quiver or contour examples works, but in test summary it shows that these examples not working(which isn’t true), but still it not working with examples with on(), hbox and vbox methods. In error it shows that is problem with AbstractPlotting, but I did almost everything with it and with Observables too. I have Julia version 1.0.2.
