Area plot tests
(self)
| 48 | ) |
| 49 | |
| 50 | def test_heatmap(self): |
| 51 | """Area plot tests""" |
| 52 | ch = chartify.Chart(x_axis_type="categorical", y_axis_type="categorical") |
| 53 | ch.plot.heatmap(self.data, x_column="category1", y_column="category2", color_column="values") |
| 54 | assert np.array_equal(chart_data(ch, "")["category1"], ["a", "a", "b", "b"]) |
| 55 | assert np.array_equal(chart_data(ch, "")["category2"], ["1", "2", "1", "2"]) |
| 56 | assert np.array_equal(chart_data(ch, "")["values"], [1.0, 2.0, 3.0, 4.0]) |
| 57 | |
| 58 | |
| 59 | class TestLine: |
nothing calls this directly
no test coverage detected