Comments (11)
I have the same problem, also running on Windows. Maybe a problem with the Windows Kaleido_jll binary?
from plotlyjs.jl.
I'm having a similar issue with producing images of plots. Not sure if it is relevant, but there seems to be confusion around Kaledio vs Kaleido:
┌ Warning: Kaledio is not available on this system. Julia will be unable to produce any plots. └ @ PlotlyBase C:\Users\Monali\.julia\packages\PlotlyBase\NxSlF\src\kaleido.jl:58
Which is different from @dlinhart14 's warning.
I'm on
Julia Version 1.7.3 Commit 742b9abb4d (2022-05-06 12:58 UTC) Platform Info: OS: Windows (x86_64-w64-mingw32) CPU: Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-12.0.1 (ORCJIT, skylake)
and
[f0f68f2c] PlotlyJS v0.15.0
from plotlyjs.jl.
I can't reproduce this issue on the following machine
julia> versioninfo()
Julia Version 1.8.5
Commit 17cfb8e65e (2023-01-08 06:45 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 16 × 11th Gen Intel(R) Core(TM) i9-11900K @ 3.50GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-13.0.1 (ORCJIT, rocketlake)
Threads: 1 on 16 virtual cores
Maybe some antivirus software is blocking the execution of the kaleido process?
from plotlyjs.jl.
Unfortunately, it is not caused by antivirus blocking and it still doesn't work.
from plotlyjs.jl.
Hi,
I have the same problem, with this version :
versioninfo()
Julia Version 1.8.5
Commit 17cfb8e65e (2023-01-08 06:45 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 20 × 12th Gen Intel(R) Core(TM) i7-1280P
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-13.0.1 (ORCJIT, goldmont)
Threads: 8 on 20 virtual cores
Environment:
JULIA_EDITOR = code
JULIA_NUM_THREADS =
I have this issus from few month now, the only solution I found is saving as HTML... But HTML isn't intente for the same use as PNG and other !
BR
Francois
from plotlyjs.jl.
I'm not sure whether the problem I'm having is the same or not, but here are my code and error messages.
using Plots
plotly()
xs=-5:1:5
ys=-5:1:5
var = [ x^2 + y^2 for x in xs, y in ys]
#p = contourf(xs, ys, var; color=:redsblues, levels=5:5:40)
p = contourf(xs, ys, var)
savefig(p, "tmp.png")
and
┌ Warning: `PlotlyKaleido` 2.1.0 is not compatible with this version of `Plots`. The declared compatibility is 1.
└ @ Plots ~/.julia/packages/Plots/3BCH5/src/backends.jl:55
ERROR: LoadError: UndefRefError: access to undefined reference
Stacktrace:
[1] getproperty
@ ./Base.jl:37 [inlined]
[2] save_payload(io::IOStream, payload::String, format::String)
@ PlotlyKaleido ~/.julia/packages/PlotlyKaleido/gfUAu/src/PlotlyKaleido.jl:88
[3] #savefig#3
@ ~/.julia/packages/PlotlyKaleido/gfUAu/src/PlotlyKaleido.jl:106 [inlined]
[4] _show(io::IOStream, #unused#::MIME{Symbol("image/png")}, plt::Plots.Plot{Plots.PlotlyBackend})
@ Plots ~/.julia/packages/Plots/3BCH5/src/backends/plotlybase.jl:21
[5] #invokelatest#2
@ ./essentials.jl:816 [inlined]
[6] invokelatest
@ ./essentials.jl:813 [inlined]
[7] show
@ ~/.julia/packages/Plots/3BCH5/src/output.jl:232 [inlined]
[8] #344
@ ~/.julia/packages/Plots/3BCH5/src/output.jl:6 [inlined]
[9] open(::Plots.var"#344#345"{Plots.Plot{Plots.PlotlyBackend}}, ::String, ::Vararg{String}; kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Base ./io.jl:395
[10] open
@ ./io.jl:392 [inlined]
[11] png(plt::Plots.Plot{Plots.PlotlyBackend}, fn::String)
@ Plots ~/.julia/packages/Plots/3BCH5/src/output.jl:6
[12] savefig(plt::Plots.Plot{Plots.PlotlyBackend}, fn::String)
@ Plots ~/.julia/packages/Plots/3BCH5/src/output.jl:149
[13] top-level scope
@ ~/Dropbox/jwk/try-contour.jl:8
[14] include(fname::String)
@ Base.MainInclude ./client.jl:478
[15] top-level scope
@ REPL[1]:1
in expression starting at /Users/furue/Dropbox/jwk/try-contour.jl:8
I'm using julia 1.9.2 from juliaup
on macOS 13.5 . The above julia program works with the default backend.
from plotlyjs.jl.
Downgrading Julia to 1.5.4 solves the problem for me.
from plotlyjs.jl.
Downgrading Julia to 1.5.4 solves the problem for me.
Reverted back to Julia 1.9.4 and followed step 2 in sglyon/PlotlyBase.jl#40 (comment). It worked for me.
from plotlyjs.jl.
I have this problem as well, and haven't found a combination of downgraded versions of either Julia or PlotlyJS, that makes PlotlyJS work on windows. Not being able to save figures is a game breaker. Unfortunately @make296 's solution did not work for me.
julia> versioninfo()
Julia Version 1.9.4
Commit 8e5136fa29 (2023-11-14 08:46 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 24 × 13th Gen Intel(R) Core(TM) i7-13700HX
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-14.0.6 (ORCJIT, goldmont)
Threads: 1 on 24 virtual cores
from plotlyjs.jl.
@mattcbro Did you first install PlotlyJS and then replace the Kaleido folder?
from plotlyjs.jl.
This should be solved now. See the related comment in #473 (comment) for more details
from plotlyjs.jl.
Related Issues (20)
- Plotting fails after a couple of plot calls HOT 1
- Heatmap with customdata and hovertemplate doesn't display the right info, when size(customdata)=size(z)
- PlotlyJS breaks when Julia is started with multiple threads
- Bump PLOTLYJS_VERSION
- Blank Plot when plotting in browser with VSCode setting "Julia: Use Plot Pane" unchecked
- cannot create subplots of pie HOT 2
- Add `image` Type of Trace HOT 8
- PlotlyJS.image incorrectly serializes to json the z array of size (d, rows, cols) , d=3, 4
- Not all documentation source files available in repo
- Kaleido process in package initialisation hangs HOT 26
- Time series plot with period data type HOT 1
- style not defined HOT 6
- The "using PlotlyJS" execution does not finish HOT 2
- Pre-compilation does not finish with version 0.18.11 HOT 7
- Setting PlotlyJS as default backend for Plots HOT 1
- Kaleido not available on windows 11 with julia 1.10 HOT 6
- Windows error for PlotlyKaleido breaks precompilation HOT 8
- "Kaleido startup failed" in docker container HOT 1
- densitymapbox doesn't generate a valid visualization HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plotlyjs.jl.