wm_legend.draw_gradient() now uses the custom linear_gradient function from wm_utils.py.