Closed henryiii closed 4 years ago
It is possible to create an empty category axis, just use the default ctor, see axis_category_test.cpp:121.
Nevertheless, passing an empty sequence should be allowed, too, when growth is on, good catch.
It's not possible to make an empty category axis with metadata, then, unless the metadata is set later.
fixed in develop
Currently, the check for bins does not take into account growth; this makes it impossible to create an empty category axis, for example. The check maybe should look like this instead:
(Verified to work in a simple case)