In auto_ticks="on" mode, tiny axes sometimes show only 1 label while at least 2 are required to show the scale
@sgougeon)
Reported by Samuel GOUGEON (Presse-papier01.png (17.37 KB, image/png)
screenshot of a tiny axes with only one y label
BUG DESCRIPTION:
----------------
When one or both sizes of a 2D plot become tiny -- like in some subplots --, the number of ticked labels decreases down to 1 (or even 0?). This should never happen in auto_ticks="on" mode. Whatever is the size, at least 2 major ticks and labels must be displayed to show not only the position but the scale of the plot as well. Without these minimal informations, a plot is useless.
HOW TO REPRODUCE THE BUG:
-------------------------
clf
x = linspace(0,10,100);
plot(x,sin(x))
f = gcf();
f.axes_size = [60,60];
ax = gca();
sleep(100)
length(ax.y_ticks.locations)>1 // should be always true