(self, line)
| 488 | self._close_line(line) |
| 489 | |
| 490 | def _close_line(self, line): |
| 491 | x, y = line.get_data() |
| 492 | # FIXME: markers at x[0], y[0] get doubled-up |
| 493 | if x[0] != x[-1]: |
| 494 | x = np.concatenate((x, [x[0]])) |
| 495 | y = np.concatenate((y, [y[0]])) |
| 496 | line.set_data(x, y) |
| 497 | |
| 498 | def set_varlabels(self, labels): |
| 499 | self.set_thetagrids(np.degrees(theta), labels) |