# No strict ticks found message

**URL:** https://discourse.julialang.org/t/no-strict-ticks-found-message/45217
**Category:** Visualization
**Tags:** plots
**Created:** [August 19, 2020, 3:48pm UTC](https://discourse.julialang.org/t/no-strict-ticks-found-message/45217 "2020-08-19T15:48:52Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![HelgavonLichtenstein](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/helgavonlichtenstein/32/5005_2.png) [@HelgavonLichtenstein](https://discourse.julialang.org/u/HelgavonLichtenstein)
#### Post date: [August 19, 2020, 3:48pm UTC](https://discourse.julialang.org/t/no-strict-ticks-found-message/45217/1 "2020-08-19T15:48:52Z")

</div>

I was plotting and realised a message was popping up in the REPL. I am using Julia 1.5 in Atom and `StatsPlots.jl` and `Plot.jl`. Any idea what is causing it?

```julia
 Warning: No strict ticks found
└ @ PlotUtils C:\Users\Helga\.julia\packages\PlotUtils\nCtbM\src\ticks.jl:283

```

![image](https://global.discourse-cdn.com/julialang/original/3X/d/a/da52ac6e6415d5a22b4e41b950d710bd4b47003f.png)

---

<div class="post-metadata">

### Author: ![mkborregaard](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkborregaard/32/556_2.png) [@mkborregaard](https://discourse.julialang.org/u/mkborregaard)
#### Post date: [August 19, 2020, 4:00pm UTC](https://discourse.julialang.org/t/no-strict-ticks-found-message/45217/2 "2020-08-19T16:00:00Z")

</div>

Could be a float precision thing? what are the numbers like?

---

<div class="post-metadata">

### Author: ![AndiMD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/andimd/32/6531_2.png) [@AndiMD](https://discourse.julialang.org/u/AndiMD)
#### Post date: [August 19, 2020, 4:02pm UTC](https://discourse.julialang.org/t/no-strict-ticks-found-message/45217/3 "2020-08-19T16:02:21Z")

</div>

Precision or large numbers are definitely an issue, at least for the GR backend.  
works:  
`plot([1,2,3],[1,1,1]*1E8)`  
fails:  
`plot([1,2,3],[1,1,1]*1E16)`

---

<div class="post-metadata">

### Author: ![HelgavonLichtenstein](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/helgavonlichtenstein/32/5005_2.png) [@HelgavonLichtenstein](https://discourse.julialang.org/u/HelgavonLichtenstein)
#### Post date: [August 19, 2020, 4:13pm UTC](https://discourse.julialang.org/t/no-strict-ticks-found-message/45217/4 "2020-08-19T16:13:26Z")

</div>

The numbers don’t seem too strange but there are a lot of decimal places. I don’t need that much accuracy though.

`0.695873142253793`

Is it possible it comes about from plotting too much? The previous plot came out fine

![image](https://global.discourse-cdn.com/julialang/original/3X/2/1/21b53be93085db457fbb9b1460a97f360561d3e4.png)

---

<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: [August 19, 2020, 6:05pm UTC](https://discourse.julialang.org/t/no-strict-ticks-found-message/45217/5 "2020-08-19T18:05:39Z")

</div>

Is it possible there is a “strict” that is in the code that should be “struct”?

---

<div class="post-metadata">

### Author: ![HelgavonLichtenstein](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/helgavonlichtenstein/32/5005_2.png) [@HelgavonLichtenstein](https://discourse.julialang.org/u/HelgavonLichtenstein)
#### Post date: [August 20, 2020, 8:39am UTC](https://discourse.julialang.org/t/no-strict-ticks-found-message/45217/6 "2020-08-20T08:39:59Z")

</div>

The message appears when there is `:log10` in the code

```julia
scatter(df_high_ranges_final_1[!, :clearance],diag(Matrix(df_high_ranges_final_1[:, (33):(42)])),xaxis = :log10,yaxis = :log10, xlabel = "Vessel Coverage(1*m-2)", ylabel = "Final Target Biomass (g*m-2)", label = "fw1", leg = :outerright)

```

---

<div class="post-metadata">

### Author: ![mkborregaard](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkborregaard/32/556_2.png) [@mkborregaard](https://discourse.julialang.org/u/mkborregaard)
#### Post date: [August 20, 2020, 9:51am UTC](https://discourse.julialang.org/t/no-strict-ticks-found-message/45217/7 "2020-08-20T09:51:29Z")

</div>

Does your data have 0’s?

---

<div class="post-metadata">

### Author: ![hemraj4545](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hemraj4545/32/19396_2.png) [@hemraj4545](https://discourse.julialang.org/u/hemraj4545)
#### Post date: [November 13, 2020, 4:37pm UTC](https://discourse.julialang.org/t/no-strict-ticks-found-message/45217/8 "2020-11-13T16:37:20Z")

</div>

Yes, I have some 0’s in my vector…

---

<div class="post-metadata">

### Author: ![cortner](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cortner/32/204_2.png) [@cortner](https://discourse.julialang.org/u/cortner)
#### Post date: [January 8, 2022, 3:00am UTC](https://discourse.julialang.org/t/no-strict-ticks-found-message/45217/9 "2022-01-08T03:00:17Z")

</div>

Well, I’m getting the same warning and my data definitely doesn’t have zeros since I manually shift all zeros to 1e-16. Anything else that could cause this?

---

<div class="post-metadata">

### Author: ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)
#### Post date: [January 8, 2022, 3:55pm UTC](https://discourse.julialang.org/t/no-strict-ticks-found-message/45217/10 "2022-01-08T15:55:42Z")

</div>

> [@cortner](#):
>
> Anything else that could cause this?

Using older versions of Plots.jl.

---

<div class="post-metadata">

### Author: ![cortner](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cortner/32/204_2.png) [@cortner](https://discourse.julialang.org/u/cortner)
#### Post date: [January 8, 2022, 4:15pm UTC](https://discourse.julialang.org/t/no-strict-ticks-found-message/45217/11 "2022-01-08T16:15:12Z")

</div>

I’m not sure. I have Plots 1.23, which is not the latest but my registry won’t update to 1.25. As simple an example as this reproduces my problem:

```julia
x = range(1, 2*pi, length=100)
P = plot(x, 1.00001 .+ cos.(x), yaxis = :log10, xaxis = :log10)

```

```julia
┌ Warning: No strict ticks found
└ @ PlotUtils /Users/ortner/.julia/packages/PlotUtils/VgXdq/src/ticks.jl:294

```

---

<div class="post-metadata">

### Author: ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)
#### Post date: [January 8, 2022, 4:16pm UTC](https://discourse.julialang.org/t/no-strict-ticks-found-message/45217/12 "2022-01-08T16:16:35Z")

</div>

Plots fine here `using Plots; gr()`  
_(Plots v1.25.0)_

[Activate a temp enviroment](https://discourse.julialang.org/t/upgrading-version-of-dataframes-stuck-at-0-21-8/61914/5) and test it.

---

<div class="post-metadata">

### Author: ![chunjiw](https://avatars.discourse-cdn.com/v4/letter/c/e79b87/32.png) [@chunjiw](https://discourse.julialang.org/u/chunjiw)
#### Post date: [January 18, 2024, 7:57pm UTC](https://discourse.julialang.org/t/no-strict-ticks-found-message/45217/13 "2024-01-18T19:57:03Z")

</div>

I get the warning with `axis=:log10`; I do not get the warning with `xaxis=:log10, yaxis=:log10`. I thought these two should be equivalent, no?

Same goes for `scale`, `xscale` and `yscale`.

---

<div class="post-metadata">

### Author: ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)
#### Post date: [January 19, 2024, 10:58am UTC](https://discourse.julialang.org/t/no-strict-ticks-found-message/45217/14 "2024-01-19T10:58:23Z")

</div>

I think they should be equivalent. Note that the warning only seems to concern the gr() backend. Others, such as plotly() or pythonplot(), don’t complain.
