As per title. Code works fine if colz is "count" or another column, e.g. "sigma" or "Morphology" but not when it is "BPT (total)". Technically this should* throw an error because in this instance, we are plotting component-wise measurements which do not exist for BPT classifications, but a specific exception should be thrown to indicate that this is the case, as the present one isn't terribly helpful.
As per title. Code works fine if colz is "count" or another column, e.g. "sigma" or "Morphology" but not when it is "BPT (total)". Technically this should* throw an error because in this instance, we are plotting component-wise measurements which do not exist for BPT classifications, but a specific exception should be thrown to indicate that this is the case, as the present one isn't terribly helpful.
MWE: