# Plotting packages that support Julia v1.0

**URL:** <https://discourse.julialang.org/t/plotting-packages-that-support-julia-v1-0/14125>\
**Category:** Visualization\
**Created:** [August 27, 2018, 12:04pm UTC](https://discourse.julialang.org/t/plotting-packages-that-support-julia-v1-0/14125 "2018-08-27T12:04:19Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neonlights](https://avatars.discourse-cdn.com/v4/letter/n/a698b9/32.png) [@Neonlights](https://discourse.julialang.org/u/Neonlights)\
**Post date:** [August 27, 2018, 12:04pm UTC](https://discourse.julialang.org/t/plotting-packages-that-support-julia-v1-0/14125/1 "2018-08-27T12:04:20Z")

</div>

Is there a list of Plot packages that are confirmed as working with Julia 1.0? I’ve seen Gadfly isn’t there yet, which is unfortunate as I wanted to start learning Julia through using that one.

---

<div class="post-metadata">

**Author:** ![mkborregaard](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkborregaard/32/556_2.png) [@mkborregaard](https://discourse.julialang.org/u/mkborregaard)\
**Post date:** [August 27, 2018, 12:15pm UTC](https://discourse.julialang.org/t/plotting-packages-that-support-julia-v1-0/14125/2 "2018-08-27T12:15:49Z")

</div>

Plots, GR, PyPlot, PgfPlotsX definitely work. PlotlyJS and Makie are very close. (Edit: removed VegaLite which isn’t ready).

---

<div class="post-metadata">

**Author:** ![jtackm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jtackm/32/4784_2.png) [@jtackm](https://discourse.julialang.org/u/jtackm)\
**Post date:** [August 27, 2018, 1:54pm UTC](https://discourse.julialang.org/t/plotting-packages-that-support-julia-v1-0/14125/3 "2018-08-27T13:54:46Z")

</div>

I think VegaLite is not quite ready yet, at least for me latest tag and master throw errors upon precompiling on 1.0.

---

<div class="post-metadata">

**Author:** ![mkborregaard](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkborregaard/32/556_2.png) [@mkborregaard](https://discourse.julialang.org/u/mkborregaard)\
**Post date:** [August 27, 2018, 2:09pm UTC](https://discourse.julialang.org/t/plotting-packages-that-support-julia-v1-0/14125/4 "2018-08-27T14:09:45Z")

</div>

Oh, sorry, I don’t use that myself I just thought I read that.

---

<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:** [August 27, 2018, 2:47pm UTC](https://discourse.julialang.org/t/plotting-packages-that-support-julia-v1-0/14125/5 "2018-08-27T14:47:04Z")

</div>

[GMT.jl](https://github.com/GenericMappingTools/GMT.jl) is also a plotting package and works on v0.7

---

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [August 27, 2018, 3:00pm UTC](https://discourse.julialang.org/t/plotting-packages-that-support-julia-v1-0/14125/6 "2018-08-27T15:00:18Z")

</div>

As mentioned elsewhere on Discourse ([List of working packages on v. 1.0 - #62 by tobias.knopp](https://discourse.julialang.org/t/list-of-working-packages-on-v-1-0/13779/62)), it would be nice if this sort of info was right there on the entry page for Julia lang.

---

<div class="post-metadata">

**Author:** ![johann.spies](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/johann.spies/32/8805_2.png) [@johann.spies](https://discourse.julialang.org/u/johann.spies)\
**Post date:** [August 28, 2018, 7:08am UTC](https://discourse.julialang.org/t/plotting-packages-that-support-julia-v1-0/14125/7 "2018-08-28T07:08:31Z")

</div>

When I try to use GR I get:

```julia
(v1.0) pkg> build GR
  Building GR → `~/.julia/packages/GR/rnUaj/deps/build.log`
┌ Error: Error building `GR`: 
│ ERROR: LoadError: ArgumentError: Package Pkg not found in current path:
│ - Run `Pkg.add("Pkg")` to install the Pkg package.
│ 
│ Stacktrace:
│ [1] require(::Module, ::Symbol) at ./loading.jl:817
│ [2] include at ./boot.jl:317 [inlined]
│ [3] include_relative(::Module, ::String) at ./loading.jl:1038
│ [4] include at ./sysimg.jl:29 [inlined]
│ [5] include_ifexists at ./client.jl:191 [inlined]
│ [6] load_julia_startup() at ./client.jl:288
│ [7] exec_options(::Base.JLOptions) at ./logging.jl:312
│ [8] _start() at ./client.jl:421
│ in expression starting at /home/js/.julia/config/startup.jl:1
└ @ Pkg.Operations /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1068

```

and when I just use Plots:

```julia
julia> using Plots

julia> plot( cumsum(rand(10)))
ERROR: error compiling _plot!: error compiling _display: could not load library "libGR.so"
libGR.so: cannot open shared object file: No such file or directory
Stacktrace:
 [1] #plot#136(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Array{Float64,1}) at /home/js/.julia/packages/Plots/ex9On/src/plot.jl:57
 [2] plot(::Array{Float64,1}) at /home/js/.julia/packages/Plots/ex9On/src/plot.jl:51
 [3] top-level scope at none:0

```

---

<div class="post-metadata">

**Author:** ![mkborregaard](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkborregaard/32/556_2.png) [@mkborregaard](https://discourse.julialang.org/u/mkborregaard)\
**Post date:** [August 28, 2018, 7:10am UTC](https://discourse.julialang.org/t/plotting-packages-that-support-julia-v1-0/14125/8 "2018-08-28T07:10:57Z")

</div>

The Plots issue you see is because your GR wasn’t built. That GR looks quite strange, though. Could you try `ENV["GRDIR"]="";Pkg.build("GR")` after updating your packages to the newest version?

---

<div class="post-metadata">

**Author:** ![johann.spies](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/johann.spies/32/8805_2.png) [@johann.spies](https://discourse.julialang.org/u/johann.spies)\
**Post date:** [August 28, 2018, 7:34am UTC](https://discourse.julialang.org/t/plotting-packages-that-support-julia-v1-0/14125/9 "2018-08-28T07:34:56Z")

</div>

> [@mkborregaard](#):
>
> `ENV["GRDIR"]="";Pkg.build("GR")`

Result:

```julia
  Building GR → `~/.julia/packages/GR/Oatug/deps/build.log`
┌ Error: Error building `GR`: 
│ ERROR: LoadError: ArgumentError: Package Pkg not found in current path:
│ - Run `Pkg.add("Pkg")` to install the Pkg package.
│ 
│ Stacktrace:
│ [1] require(::Module, ::Symbol) at ./loading.jl:817
│ [2] include at ./boot.jl:317 [inlined]
│ [3] include_relative(::Module, ::String) at ./loading.jl:1038
│ [4] include at ./sysimg.jl:29 [inlined]
│ [5] include_ifexists at ./client.jl:191 [inlined]
│ [6] load_julia_startup() at ./client.jl:288
│ [7] exec_options(::Base.JLOptions) at ./logging.jl:312
│ [8] _start() at ./client.jl:421
│ in expression starting at /home/js/.julia/config/startup.jl:1
└ @ Pkg.Operations /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1068

```

---

<div class="post-metadata">

**Author:** ![mkborregaard](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkborregaard/32/556_2.png) [@mkborregaard](https://discourse.julialang.org/u/mkborregaard)\
**Post date:** [August 28, 2018, 7:38am UTC](https://discourse.julialang.org/t/plotting-packages-that-support-julia-v1-0/14125/10 "2018-08-28T07:38:52Z")

</div>

Your best bet is to open an issue on GR (provided your other packages are building - it looks almost like your whole julia install is having trouble). It works perfectly on my 1.0

---

<div class="post-metadata">

**Author:** ![johann.spies](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/johann.spies/32/8805_2.png) [@johann.spies](https://discourse.julialang.org/u/johann.spies)\
**Post date:** [August 28, 2018, 8:08am UTC](https://discourse.julialang.org/t/plotting-packages-that-support-julia-v1-0/14125/11 "2018-08-28T08:08:24Z")

</div>

Maybe I a will file a bug. I could successfully build CSVFiles as a test.

I also tried

```julia
Version 1.1.0-DEV.72 (2018-08-20)

```

with the same result.

It works well in 0.6.4 though.  
Thanks for your attention.

---

<div class="post-metadata">

**Author:** ![mkborregaard](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkborregaard/32/556_2.png) [@mkborregaard](https://discourse.julialang.org/u/mkborregaard)\
**Post date:** [August 28, 2018, 8:19am UTC](https://discourse.julialang.org/t/plotting-packages-that-support-julia-v1-0/14125/12 "2018-08-28T08:19:01Z")

</div>

cc @jheinen

---

<div class="post-metadata">

**Author:** ![lobingera](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lobingera/32/211_2.png) [@lobingera](https://discourse.julialang.org/u/lobingera)\
**Post date:** [August 28, 2018, 8:29am UTC](https://discourse.julialang.org/t/plotting-packages-that-support-julia-v1-0/14125/13 "2018-08-28T08:29:55Z")

</div>

btw: Looks like Gadfly/Compose is approaching 1.0 soon:  
[https://github.com/GiovineItalia/Gadfly.jl/pull/1189](https://github.com/GiovineItalia/Gadfly.jl/pull/1189)  
[https://github.com/GiovineItalia/Compose.jl/pull/282](https://github.com/GiovineItalia/Compose.jl/pull/282)

---

<div class="post-metadata">

**Author:** ![jheinen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jheinen/32/2787_2.png) [@jheinen](https://discourse.julialang.org/u/jheinen)\
**Post date:** [August 28, 2018, 8:52am UTC](https://discourse.julialang.org/t/plotting-packages-that-support-julia-v1-0/14125/14 "2018-08-28T08:52:21Z")

</div>

You have to temporarily disable/remove your startup file. This is not a problem of GR. There were other users having the same problem (with other packages), too.

@mkborregaard

---

<div class="post-metadata">

**Author:** ![johann.spies](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/johann.spies/32/8805_2.png) [@johann.spies](https://discourse.julialang.org/u/johann.spies)\
**Post date:** [August 28, 2018, 9:09am UTC](https://discourse.julialang.org/t/plotting-packages-that-support-julia-v1-0/14125/15 "2018-08-28T09:09:30Z")

</div>

> [@jheinen](#):
>
> You have to temporarily disable/remove your startup file.

Thanks. That helped.

But after Pkg.up GR was updated. Pkg.build (after a few tries) did not result in errors but:

```julia
julia> using Plots

julia> plot( cumsum(rand(10)))
ERROR: error compiling _plot!: error compiling _display: could not load library "libGR.so"
libGR.so: cannot open shared object file: No such file or directory
Stacktrace:
 [1] #plot#136(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Array{Float64,1}) at /home/js/.julia/packages/Plots/ex9On/src/plot.jl:57
 [2] plot(::Array{Float64,1}) at /home/js/.julia/packages/Plots/ex9On/src/plot.jl:51
 [3] top-level scope at none:0

```

Regards  
Johann

---

<div class="post-metadata">

**Author:** ![mkborregaard](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkborregaard/32/556_2.png) [@mkborregaard](https://discourse.julialang.org/u/mkborregaard)\
**Post date:** [August 28, 2018, 9:31am UTC](https://discourse.julialang.org/t/plotting-packages-that-support-julia-v1-0/14125/16 "2018-08-28T09:31:32Z")

</div>

❤

---

<div class="post-metadata">

**Author:** ![jheinen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jheinen/32/2787_2.png) [@jheinen](https://discourse.julialang.org/u/jheinen)\
**Post date:** [August 28, 2018, 11:02am UTC](https://discourse.julialang.org/t/plotting-packages-that-support-julia-v1-0/14125/17 "2018-08-28T11:02:21Z")

</div>

Please download the latest run-time (for your platform) using

```julia
ENV["GRDIR"] = ""
Pkg.build("GR")

```

I still have no idea, why the latter is required on some system - there were several users complaining about that, but the above step should fix the problem …

---

<div class="post-metadata">

**Author:** ![johann.spies](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/johann.spies/32/8805_2.png) [@johann.spies](https://discourse.julialang.org/u/johann.spies)\
**Post date:** [August 29, 2018, 8:56am UTC](https://discourse.julialang.org/t/plotting-packages-that-support-julia-v1-0/14125/18 "2018-08-29T08:56:01Z")

</div>

> [@jheinen](#):
>
> ENV[“GRDIR”] = “”  
> Pkg.build(“GR”)

Sorry, this is from a binary newly unpacked from the tar.gz I downloaded from [julialang.org](https://julialang.org/downloads/):

```julia
  _ _ _(_)_ | Documentation: https://docs.julialang.org
  (_) | (_) (_) |
   _ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` | |
  | | |_| | | | (_| | | Version 1.0.0 (2018-08-08)
 _/ |\ __'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |

julia> ENV["GRDIR"] = ""
""
julia> using Pkg

julia> Pkg.build("GR")
  Building GR → `~/.julia/packages/GR/5E5fX/deps/build.log`
┌ Error: Error building `GR`: 
│ ERROR: LoadError: failed process: Process(`grep ^ID_LIKE=`, ProcessExited(1)) [1]
│ Stacktrace:
│ [1] error(::String, ::Base.Process, ::String, ::Int64, ::String) at ./error.jl:42
│ [2] pipeline_error at ./process.jl:695 [inlined]
│ [3] pipeline_error(::Base.ProcessChain) at ./process.jl:708
│ [4] read(::Base.OrCmds) at ./process.jl:631
│ [5] get_os_release(::String) at /home/js/.julia/packages/GR/5E5fX/deps/build.jl:37
│ [6] top-level scope at /home/js/.julia/packages/GR/5E5fX/deps/build.jl:60
│ [7] include at ./boot.jl:317 [inlined]
│ [8] include_relative(::Module, ::String) at ./loading.jl:1038
│ [9] include(::Module, ::String) at ./sysimg.jl:29
│ [10] include(::String) at ./client.jl:388
│ [11] top-level scope at none:0
│ in expression starting at /home/js/.julia/packages/GR/5E5fX/deps/build.jl:45
└ @ Pkg.Operations /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1068

```

It is not urgent for me, but might be worth while for the developers taking note of it.

Regards  
Johann

---

<div class="post-metadata">

**Author:** ![jheinen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jheinen/32/2787_2.png) [@jheinen](https://discourse.julialang.org/u/jheinen)\
**Post date:** [August 29, 2018, 9:32am UTC](https://discourse.julialang.org/t/plotting-packages-that-support-julia-v1-0/14125/19 "2018-08-29T09:32:53Z")

</div>

Thanks for the hint. I added a check for missing keys in `/etc/os-release`. The problem should no longer exist.

---

<div class="post-metadata">

**Author:** ![davidanthoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davidanthoff/32/223493_2.png) [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)\
**Post date:** [September 16, 2018, 1:07am UTC](https://discourse.julialang.org/t/plotting-packages-that-support-julia-v1-0/14125/20 "2018-09-16T01:07:53Z")

</div>

[VegaLite.jl](https://github.com/fredo-dedup/VegaLite.jl) should now work.

[Next page](https://discourse.julialang.org/t/plotting-packages-that-support-julia-v1-0/14125.md?page=2)
