matplotlib/matplotlib — pull request #2569 by tacaswell (2013-11-02 16:36:15+00:00)
Title: Explicitly cast the input array to float before doing anything to it

so that the computation of `s` does not compute as integer division.

fixes issue #2566