That is what is intended. If there was no mapping for an aesthetic, there will not be a guide for it. It is similar to the previous state, `ggplot.add_to_legend` in that case was called with in a `True` path. I'll expand on the comment to make it look less fishy.