it("rejects nonexistant axes", function () {
    func = function () {
      cf.padYAxis(graph, "y1", "top", -1);
    };
    expect(func).toThrow();