In the documentation, it's stated that "if values like N, n, Step, step are not specified, reasonable defaults will be chosen".
I think it would be useful to add to the documentation something like:
You should draw the axis after all the graphs are drawn, so that the extent can be determined.
(or so it appears. In the code above, if xaxis is moved to the last line, the ticks are indeed reasonably chosen.)
And to add to the source code (the logic to find the tick values to drawn) such that, if none of N, Step is specified, then at least one tick should be drawn.
Example:
Result: no ticks is drawn.
In the documentation, it's stated that "if values like
N, n, Step, step
are not specified, reasonable defaults will be chosen".I think it would be useful to add to the documentation something like:
(or so it appears. In the code above, if
xaxis
is moved to the last line, the ticks are indeed reasonably chosen.)And to add to the source code (the logic to find the tick values to drawn) such that, if none of
N, Step
is specified, then at least one tick should be drawn.