graphite-project/graphite-web — pull request #10 by mattus (2012-06-12 09:28:28+00:00)
Title: Improving the robustness of cactiStyle()

Using cactiStyle() with filters can cause problems when filters filter all data series, for example;

cactiStyle(currentAbove(sin("test", 2),3))

Causes a ValueError: max() arg is an empty sequence, as an empty seriesList is passed into the function.