# Point2f removed from Makie?

**URL:** <https://discourse.julialang.org/t/point2f-removed-from-makie/103088>\
**Category:** General Usage\
**Tags:** question, makie, glmakie\
**Created:** [August 22, 2023, 5:26pm UTC](https://discourse.julialang.org/t/point2f-removed-from-makie/103088 "2023-08-22T17:26:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![marianoarnaiz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/marianoarnaiz/32/19377_2.png) [@marianoarnaiz](https://discourse.julialang.org/u/marianoarnaiz)\
**Post date:** [August 22, 2023, 5:26pm UTC](https://discourse.julialang.org/t/point2f-removed-from-makie/103088/1 "2023-08-22T17:26:04Z")

</div>

Hi everyone.  
I have some older Makie based plots, and I am reusing it and now I get this error:

```julia

ERROR: LoadError: UndefVarError: `Point2f` not defined
Stacktrace:
 [1] top-level scope
   @ util.jl:589
 [2] include(mod::Module, _path::String)
   @ Base ./Base.jl:457
 [3] include(x::String)
   @ Main.InteractiveViz ~/Documents/Julia_Projects/DAS_DETECTION/InteractiveViz.jl-master/src/InteractiveViz.jl:1
 [4] top-level scope
   @ ~/Documents/Julia_Projects/DAS_DETECTION/InteractiveViz.jl-master/src/InteractiveViz.jl:9
 [5] include(fname::String)
   @ Base.MainInclude ./client.jl:478
 [6] top-level scope
   @ ~/Documents/Julia_Projects/DAS_DETECTION/My_DAS_Tools.jl:8
 [7] include(fname::String)
   @ Base.MainInclude ./client.jl:478
 [8] top-level scope
   @ REPL[2]:1
in expression starting at /Users/andurin/Documents/Julia_Projects/DAS_DETECTION/InteractiveViz.jl-master/src/types.jl:83
in expression starting at /Users/andurin/Documents/Julia_Projects/DAS_DETECTION/InteractiveViz.jl-master/src/InteractiveViz.jl:1
in expression starting at /Users/andurin/Documents/Julia_Projects/DAS_DETECTION/My_DAS_Tools.jl:8

```

Any one knows how to fix this?

---

<div class="post-metadata">

**Author:** ![t-bltg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/t-bltg/32/25526_2.png) [@t-bltg](https://discourse.julialang.org/u/t-bltg)\
**Post date:** [August 22, 2023, 5:29pm UTC](https://discourse.julialang.org/t/point2f-removed-from-makie/103088/2 "2023-08-22T17:29:45Z")

</div>

Still works for me:

```julia
julia> using Makie
julia> Point2f
Point{2, Float32}

```

Still exported in [https://github.com/MakieOrg/Makie.jl/blob/a4af178f3fac55a2d14d31b0dfbc9724f6d89139/src/Makie.jl#L266](https://github.com/MakieOrg/Makie.jl/blob/a4af178f3fac55a2d14d31b0dfbc9724f6d89139/src/Makie.jl#L266).

How are you using `Makie` ?

---

<div class="post-metadata">

**Author:** ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Post date:** [August 22, 2023, 5:30pm UTC](https://discourse.julialang.org/t/point2f-removed-from-makie/103088/3 "2023-08-22T17:30:11Z")

</div>

> [@UndefVarError: \`Point2f\` not defined](https://discourse.julialang.org/t/undefvarerror-point2f-not-defined/101579):
>
> Without apparent modifications after compiling / running in the terminal of VSCode/ VSCodium the message: ERROR: UndefVarError: Point2f not defined appears, referring to a line that attempts to declare an observable of the type Point2f. Before running import Pkg; Pkg.add("GLMakie"); using GLMakie; FirstPoints = Observable(Point2[]) points = Observable(Point2f[]) I input in the terminal “ ] registry rm General “, and delete Manifest.toml and Project.toml in the present Julia environment.

> [@GLMakie: Point2f not defined](https://discourse.julialang.org/t/glmakie-point2f-not-defined/84292/11):
>
> This one works, I try pkg\> activate --temp pkg\> add \<packagename\> julia\> include\<"glmakie2.jl"\> to start a new environment and it still can’t work with the GLMakie, not opening the Makie GUI. [Capture d’écran\_2022-07-16\_16-30-14] using yours: works amazingly. Thanks for the knowledge and help. Wish you all the best.

---

<div class="post-metadata">

**Author:** ![marianoarnaiz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/marianoarnaiz/32/19377_2.png) [@marianoarnaiz](https://discourse.julialang.org/u/marianoarnaiz)\
**Post date:** [August 22, 2023, 9:40pm UTC](https://discourse.julialang.org/t/point2f-removed-from-makie/103088/4 "2023-08-22T21:40:13Z")

</div>

I have having some kind of conflict with other packages. It works now after updating everything! Thank by the way 🙂
