[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] org--plot/sensible-tick-num when range is a power of 10
From: |
Ihor Radchenko |
Subject: |
Re: [BUG] org--plot/sensible-tick-num when range is a power of 10 |
Date: |
Thu, 11 Jul 2024 11:43:00 +0000 |
Brice Waegenire <brice.wge@gmail.com> writes:
> I've found a bug in =org--plot/sensible-tick-num=, when a plot has a
> range of a power of 10 (1, 10, 100, ...).
>
> To reproduce, run =org-plot/gnuplot= on the following plot:
> #+plot: type:radar min:0 max:10
> | Metric | Value |
> |---------+-------|
> | alpha | 2 |
> | beta | 4 |
> | gamma | 6 |
> | delta | 8 |
> | epsilon | 10 |
>
> It produce the error: =let*: Wrong type argument: number-or-marker-p, nil=.
Confirmed.
I am completely lost in the intended logic of how the tics are
determined.
CCing the author.
Timothy, I feel that the logic is pretty much off for ranges with powers
of 10 and for single value column.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>