Make bin mismatch error explicit
If the yield objects do not have the correct number of bins, the code currently relies on matplotlib to raise an exception. It would me more user friendly if the code raises an informative exception instead.
If the yield objects do not have the correct number of bins, the code currently relies on matplotlib to raise an exception. It would me more user friendly if the code raises an informative exception instead.