Changes for 0.98.0
matplotlib.image.imread()now no longer always returns RGBA data---if the image is luminance or RGB, it will return a MxN or MxNx3 array if possible. Also uint8 is no longer always forced to float.Rewrote the
matplotlib.cm.ScalarMappablecallback infrastructure to usematplotlib.cbook.CallbackRegistryrather than custom callback handling. Any users ofmatplotlib.cm.ScalarMappable.add_observerof theshould use the instead.