JuliaPlots / PlotlyJS.jl

Julia library for plotting with plotly.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

savefig() as ".eps" fails

StefanPofahl opened this issue · comments

The issue exist on both OS, linux (ubuntu) as well as windows:
#284

The Backtrace on my linux OS is:

ERROR: Transform failed with error code 256: PDF to EPS conversion failed
Stacktrace:
  [1] error(s::String)
    @ Base ./error.jl:33
  [2] savefig(p::Plot{Vector{GenericTrace}, Layout{Dict{Symbol, Any}}, Vector{PlotlyFrame}}; width::Nothing, height::Nothing, scale::Nothing, format::String)
    @ PlotlyJS ~/.julia/packages/PlotlyJS/Jj38U/src/kaleido.jl:110
  [3] savefig(p::PlotlyJS.SyncPlot; kwargs::Base.Iterators.Pairs{Symbol, Union{Nothing, String}, NTuple{4, Symbol}, NamedTuple{(:width, :height, :scale, :format), Tuple{Nothing, Nothing, Nothing, String}}})
    @ PlotlyJS ~/.julia/packages/PlotlyJS/Jj38U/src/kaleido.jl:71
  [4] savefig(io::IOStream, p::PlotlyJS.SyncPlot; width::Nothing, height::Nothing, scale::Nothing, format::String)
    @ PlotlyJS ~/.julia/packages/PlotlyJS/Jj38U/src/kaleido.jl:154
  [5] (::PlotlyJS.var"#36#37"{Nothing, Nothing, Nothing, PlotlyJS.SyncPlot})(f::IOStream)
    @ PlotlyJS ~/.julia/packages/PlotlyJS/Jj38U/src/kaleido.jl:187
  [6] open(::PlotlyJS.var"#36#37"{Nothing, Nothing, Nothing, PlotlyJS.SyncPlot}, ::String, ::Vararg{String, N} where N; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Base ./io.jl:330
  [7] open
    @ ./io.jl:328 [inlined]
  [8] savefig(p::PlotlyJS.SyncPlot, fn::String; format::Nothing, width::Nothing, height::Nothing, scale::Nothing)
    @ PlotlyJS ~/.julia/packages/PlotlyJS/Jj38U/src/kaleido.jl:186
  [9] savefig(p::PlotlyJS.SyncPlot, fn::String)
    @ PlotlyJS ~/.julia/packages/PlotlyJS/Jj38U/src/kaleido.jl:181
 [10] top-level scope
    @ /media/stefan/DATA/data/julia/tmp/kw.jl:32