Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Very old version of Makie installed recently #3802

Closed
JuanVargas opened this issue Apr 24, 2024 · 5 comments
Closed

Very old version of Makie installed recently #3802

JuanVargas opened this issue Apr 24, 2024 · 5 comments

Comments

@JuanVargas
Copy link

OS Linux Ubuntu 22.04.4 LTS
Julia version 1.10.2
Makie v0.15.0
GLMakie v0.4.4

ISSUE 1:
Pkg.status() tells me that there new versions for Makie, and GLMakie. I tried to get those versions with no success, as follows:

Pkg.rm("Makie")
Pkg.add("Makie")
Pkg.update()
Pkg.status() # I see the same old version
or
Pkg.rm("Makie")
Pkg.build("Makie")
Pkg.update()
Pkg.status() # I see the same old version

ISSUE 2: Code that was running yesterday no longer works, with no explanation or way to trace back reason.
The calls to scatter! and text! fail.

f = Figure( )
ga = f[1,1] = GridLayout()
ax = Axis(f[1, 1], limits=((0,10), (0,10)),
title = "Semantic Feature Space",
xlabel = "Gender",
ylabel = "Age"
)

#scatter!(ax, 1, 2, marker=:circle, markersize=10, color=:red)
#scatter!(ax, 1, 7, marker=:circle, markersize=10, color=:red)
#scatter!(ax, 9, 2, marker=:circle, markersize=10, color=:blue)
#scatter!(ax, 9, 7, marker=:circle, markersize=10, color=:blue)
#text!(ax, 1, 2, text="boy")
#text!(ax, 1.1, 7, text="man")
#text!(ax, 9.1, 2, text="girl")
#text!(ax, 9.1, 7, text="woman")

ISSUE 3: Code below, taken verbatim from the Julia/Makie docs fails

using CairoMakie

f, ax, sc = scatter(1, 1, marker = 'A', markersize = 50)
text!(2, 1, text = "A", fontsize = 50, align = (:center, :center))
xlims!(ax, -1, 4)
f

error msg is that Point2f is not defined

QUESTION 1: how can I upgrade to the "current" versions of Makie and GLMakie?
QUESTION 2: Why are the docs and tutorials not tested to ensure that the code shown there actually works?

Thank you

@JuanVargas JuanVargas added the bug label Apr 24, 2024
@asinghvi17
Copy link
Member

It looks like you're running a really old version of Makie - so it's no surprise that current tutorials would fail there.

Have you tried Pkg.add(PackageSpec(; name = "Makie", version = "0.20.9")), to see what is holding you back from upgrading?

@asinghvi17 asinghvi17 changed the title issues with Makie Very old version of Makie installed recently Apr 24, 2024
@asinghvi17 asinghvi17 removed the bug label Apr 24, 2024
@JuanVargas
Copy link
Author

JuanVargas commented Apr 24, 2024 via email

@JuanVargas
Copy link
Author

JuanVargas commented Apr 24, 2024 via email

@SimonDanisch
Copy link
Member

You need to remove AbstractPlotting

@JuanVargas
Copy link
Author

JuanVargas commented Apr 24, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants