# Problem with DataInspector

**URL:** <https://discourse.julialang.org/t/problem-with-datainspector/82958>\
**Category:** Visualization\
**Tags:** makie\
**Created:** [June 18, 2022, 8:55am UTC](https://discourse.julialang.org/t/problem-with-datainspector/82958 "2022-06-18T08:55:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tt1234567](https://avatars.discourse-cdn.com/v4/letter/t/dec6dc/32.png) [@tt1234567](https://discourse.julialang.org/u/tt1234567)\
**Post date:** [June 18, 2022, 8:55am UTC](https://discourse.julialang.org/t/problem-with-datainspector/82958/1 "2022-06-18T08:55:24Z")

</div>

DataInspector no longer works for me after the recent Makie update:

```julia
heatmap(rand(100,100))
DataInspector()

```

gives

```julia
ERROR: type Array has no field extents
Stacktrace:
 [1] getproperty
   @ .\Base.jl:42 [inlined]
 [2] Bbox_from_glyphcollection(text::String, gc::Vector{Point{2, Float32}})
   @ Makie C:\Users\xxxx\.julia\packages\Makie\xVGV7\src\interaction\inspector.jl:191
 [3] (::Makie.var"#883#886"{Observable{Any}})(gc::Vector{Point{2, Float32}}, pos::Point{2, Float32}, pad::Vec{4, Float32})
   @ Makie C:\Users\xxxx\.julia\packages\Makie\xVGV7\src\interaction\inspector.jl:294
 [4] #map#19
   @ C:\Users\xxxx\.julia\packages\Observables\ynr7h\src\Observables.jl:444 [inlined]
 [5] map(::Makie.var"#883#886"{Observable{Any}}, ::Observable{Vector{Point{2, Float32}}}, ::Observable{Any}, ::Observable{Any})        
   @ Observables C:\Users\xxxx\.julia\packages\Observables\ynr7h\src\Observables.jl:444
 [6] plot!(plot::Combined{Makie._inspector, Tuple{Int64}})
   @ Makie C:\Users\xxxx\.julia\packages\Makie\xVGV7\src\interaction\inspector.jl:293

```

I’m using Julia Version 1.7.3, GLMakie v0.6.6 on Windows 10.

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://discourse.julialang.org/u/jules)\
**Post date:** [June 18, 2022, 10:13am UTC](https://discourse.julialang.org/t/problem-with-datainspector/82958/2 "2022-06-18T10:13:20Z")

</div>

Ah that is because of the new argument order for `text`, should be easy enough to fix hopefully.

---

<div class="post-metadata">

**Author:** ![tt1234567](https://avatars.discourse-cdn.com/v4/letter/t/dec6dc/32.png) [@tt1234567](https://discourse.julialang.org/u/tt1234567)\
**Post date:** [June 22, 2022, 4:37pm UTC](https://discourse.julialang.org/t/problem-with-datainspector/82958/3 "2022-06-22T16:37:16Z")

</div>

It looks like this has been fixed in GLMakie 0.6.8 (thanks!!) but I now have a problem with the `textsize` keyword. Eg

```julia
using GLMakie
heatmap(rand(100,100))
DataInspector(textsize=100)

```

the keyword has no effect and the text is tiny on my screen.

---

<div class="post-metadata">

**Author:** ![ffreyer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ffreyer/32/21569_2.png) [@ffreyer](https://discourse.julialang.org/u/ffreyer)\
**Post date:** [June 24, 2022, 10:59am UTC](https://discourse.julialang.org/t/problem-with-datainspector/82958/4 "2022-06-24T10:59:59Z")

</div>

Oh, I accidentally replaced a semicolon with a comma. As a workaround you can use `inspector = DataInspect(); inspector.plot.textsize[] = 100` until that’s fixed.

---

<div class="post-metadata">

**Author:** ![tt1234567](https://avatars.discourse-cdn.com/v4/letter/t/dec6dc/32.png) [@tt1234567](https://discourse.julialang.org/u/tt1234567)\
**Post date:** [June 24, 2022, 12:04pm UTC](https://discourse.julialang.org/t/problem-with-datainspector/82958/5 "2022-06-24T12:04:03Z")

</div>

Great, that works! Thanks for all your hard work, Makie works very well for my purposes and is getting better all the time.
