I see. I suspect that, with the `np.searchsorted` technique I suggested + a better ticking scheme (that doesn't try to label *every* category), we might be able to do away with this eventually. It's fine to leave it now, with a note about what it's used for