Change the way the gradient stops are encoded

Because leaflet dvf, used in the visualisation in the app, likes it this way