Single line test
(self)
| 68 | ) |
| 69 | |
| 70 | def test_single_numeric_line(self): |
| 71 | """Single line test""" |
| 72 | single_line = self.data[self.data["category1"] == "a"] |
| 73 | ch = chartify.Chart() |
| 74 | ch.plot.line(single_line, x_column="number1", y_column="number2") |
| 75 | assert np.array_equal(chart_data(ch, "")["number1"], [1.0, 2.0, 3.0]) |
| 76 | assert np.array_equal(chart_data(ch, "")["number2"], [5, 10, 0]) |
| 77 | |
| 78 | def test_multi_numeric_line(self): |
| 79 | """Single line test""" |
nothing calls this directly
no test coverage detected