# GLMakie log10 plot UI problems

**URL:** <https://discourse.julialang.org/t/glmakie-log10-plot-ui-problems/119870>\
**Category:** General Usage\
**Tags:** ui, glmakie\
**Created:** [September 25, 2024, 2:22pm UTC](https://discourse.julialang.org/t/glmakie-log10-plot-ui-problems/119870 "2024-09-25T14:22:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![devel-chm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/devel-chm/32/3572_2.png) [@devel-chm](https://discourse.julialang.org/u/devel-chm)\
**Post date:** [September 25, 2024, 2:22pm UTC](https://discourse.julialang.org/t/glmakie-log10-plot-ui-problems/119870/1 "2024-09-25T14:22:17Z")

</div>

I’ve been working to get a custom GLMakie plot recipe with log scaling  
on the Y-axis. When I tried using `DataInspector()` to look at the values  
in the plots I find that the tooltip is either misplaced or totally not visible  
with the `log10` scaling.

Here is an example where the inspector tooltip is visible but poorly  
located relative to the actual curve:

![DataInspector_log10_glitch](https://global.discourse-cdn.com/julialang/original/3X/8/f/8f6fbda968ad42278c39e02bffda5c7038caf558.png)

If I resize/zoom in-out/move around in the plot then almost always the tooltip  
stops appearing (either it is positioned out of the axis area or it is not being  
activated or both).

Would it be possible to ensure that the tooltip is in the “right” area of the axis  
where it is aligned with the location being reported and not obscuring the area  
of the plot indicated?

It would be nice if there were an indicator like a small circle that would  
indicate exactly where the tooltip “is” in the plot space (which plot and  
point would be unambiguous). Maybe even a line from the tooltip to the  
indicator circle or vertical lines at the circle.

![DataInspector_log10_glitch_w_hotspot](https://global.discourse-cdn.com/julialang/original/3X/e/a/ea0782478ba2625beea4f70ff8c4b2533228dfba.png)

This shows what I mean with the circle and/or vertical lines. In this case,  
I think the tooltip with values would be better placed at the end of the upper  
red line so it would not obstruct the plot if you move around.

I’ve started looking at the documentation for customizing the `DataInspector()` but am finding the learning curve as slow progress!

---

<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:** [September 25, 2024, 5:04pm UTC](https://discourse.julialang.org/t/glmakie-log10-plot-ui-problems/119870/2 "2024-09-25T17:04:09Z")

</div>

This looks like it might be a bug in the projection logic of the tooltip for transformed axes, @ffreyer?
