Premium problem26. Two Overlaid Histograms

Medium Locked

Plot the distributions a and b on the same Axes using the same bins equal-width bins, so the two can be compared directly. Label them "A" and "B" and show the legend.

Return the Axes. Both histograms must use the same bin count; different binning would make the heights incomparable.

Premium problem

This one's part of Premium. Unlock the full Matplotlib track plus every other premium problem on the site.

Implement solve(...)