# How to make GLMakie observables work

**URL:** <https://discourse.julialang.org/t/how-to-make-glmakie-observables-work/104445>\
**Category:** New to Julia\
**Created:** [October 1, 2023, 12:52am UTC](https://discourse.julialang.org/t/how-to-make-glmakie-observables-work/104445 "2023-10-01T00:52:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ollie\_d](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ollie_d/32/53134_2.png) [@ollie\_d](https://discourse.julialang.org/u/ollie_d)\
**Post date:** [October 1, 2023, 12:52am UTC](https://discourse.julialang.org/t/how-to-make-glmakie-observables-work/104445/1 "2023-10-01T00:52:14Z")

</div>

Still really struggling to get anything done with glmakie

using GLMakie

points = Observable(Point2f)

push!(points, Point2f(1.0,1.0))

fig = Figure()

ax = Axis(fig[1,1])

scatter(points, markersize = 40)

push!(points, Point2f(1.6,2.2))

notify(points)

Doesn’t update the points on the graph. How should I be controlling a lot of different points? Do i use an array of points? thanks

---

<div class="post-metadata">

**Author:** ![RomeoV](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/romeov/32/37687_2.png) [@RomeoV](https://discourse.julialang.org/u/RomeoV)\
**Post date:** [October 1, 2023, 3:44am UTC](https://discourse.julialang.org/t/how-to-make-glmakie-observables-work/104445/2 "2023-10-01T03:44:11Z")

</div>

It works for me, though I had to reset the axis limits to display the new point:

```julia
Makie.reset_limits!(current_axis())

```

or

```julia
on(points) do
  Makie.reset_limits!(current_axis())
end

```
