Monotone curve slopes at boundary points are now chosen so that the second-order derivatives vanish. This method is given in the paper "A Simple Method for Monotonic Interpolation in One Dimension", section 2.2.
These changes are based on the conversation in pull request #38. The monotone curve looks, subjectively, better at the boundaries that the simplest solution of setting the boundary slopes to 0.
Monotone curve slopes at boundary points are now chosen so that the second-order derivatives vanish. This method is given in the paper "A Simple Method for Monotonic Interpolation in One Dimension", section 2.2.
These changes are based on the conversation in pull request #38. The monotone curve looks, subjectively, better at the boundaries that the simplest solution of setting the boundary slopes to 0.