JuliaPy / JuliaPy/PyPlot.jl

Problem in using PyPlot in Julia

Open
#578 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
488
Forks
90
PR merge metrics
No merged PRs in 30d

Description

I have a problem using PyPlot in a Julia code. When I write "using PyPlot" goes well, but when I try to plot something it does not work and it continues to compile and compile without stopping. I tries the to test the package from the command window and the result is the following

test PyPlot
Testing PyPlot
Status `C:\Users\Andrea\AppData\Local\Temp\jl_ClYuuj\Project.toml`
[5ae59095] Colors v0.12.10
[b964fa9f] LaTeXStrings v1.3.1
[438e738f] PyCall v1.96.4
[d330b81b] PyPlot v2.11.2
[81def892] VersionParsing v1.3.0
[6462fe0b] Sockets
[8dfed614] Test
Status `C:\Users\Andrea\AppData\Local\Temp\jl_ClYuuj\Manifest.toml`
[3da002f7] ColorTypes v0.11.4
[5ae59095] Colors v0.12.10
[8f4d0f93] Conda v1.10.0
[53c48c17] FixedPointNumbers v0.8.4
[682c06a0] JSON v0.21.4
[b964fa9f] LaTeXStrings v1.3.1
[1914dd2f] MacroTools v0.5.13
[69de0a69] Parsers v2.8.1
[aea7be01] PrecompileTools v1.2.0
[21216c6a] Preferences v1.4.1
[438e738f] PyCall v1.96.4
[d330b81b] PyPlot v2.11.2
[189a3867] Reexport v1.2.2
[81def892] VersionParsing v1.3.0
[0dad84c5] ArgTools v1.1.1
[56f22d72] Artifacts
[2a0f44e3] Base64
[ade2ca70] Dates
[f43a241f] Downloads v1.6.0
[7b1f6079] FileWatching
[b77e0a4c] InteractiveUtils
[b27032c2] LibCURL v0.6.4
[8f399da3] Libdl
[37e2e46d] LinearAlgebra
[56ddb016] Logging
[d6f4376e] Markdown
[a63ad114] Mmap
[ca575930] NetworkOptions v1.2.0
[de0858da] Printf
[9a3f8284] Random
[ea8e919c] SHA v0.7.0
[9e88b42a] Serialization
[6462fe0b] Sockets
[2f01184e] SparseArrays v1.10.0
[10745b16] Statistics v1.10.0
[fa267f1f] TOML v1.0.3
[8dfed614] Test
[cf7118a7] UUIDs
[4ec0a83e] Unicode
[e66e0078] CompilerSupportLibraries_jll v1.0.5+1
[deac9b47] LibCURL_jll v8.4.0+0
[29816b5a] LibSSH2_jll v1.11.0+1
[c8ffd9c3] MbedTLS_jll v2.28.2+1
[14a3606d] MozillaCACerts_jll v2023.1.10
[4536629a] OpenBLAS_jll v0.3.23+2
[bea87d4a] SuiteSparse_jll v7.2.1+1
[83775a58] Zlib_jll v1.2.13+1
[8e850b90] libblastrampoline_jll v5.8.0+1
[8e850ede] nghttp2_jll v1.52.0+1
Precompiling project...
16 dependencies successfully precompiled in 35 seconds. 4 already precompiled.
Testing Running tests...
[ Info: PyPlot is using Matplotlib 3.8.3 with Python 3.10.13
┌ Warning: `getindex(o::PyObject, i::Integer)` is deprecated, use `get(o, i - 1)` instead.
│ caller = top-level scope at runtests.jl:9
└ @ Core C:\Users\Andrea\.julia\packages\PyPlot\2MlrT\test\runtests.jl:9
ERROR: Package PyPlot errored during testing (exit code: 3228369022)

I'm currently using Version 1.10.0 (2023-12-25).

How can I fix the problem?

For sure I will be very happy if you can give me a resolution about the problema.

Thanks a lot!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported plotting hang and `test PyPlot` failure on Julia 1.10.0 with PyPlot 2.11.2, using the test output and `runtests.jl:9` as the initial entry point. Done means identifying a reproducible cause for exit code 3228369022 or the indefinite compilation and verifying the resulting resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia, python
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.