(self)
| 1486 | return barh_new |
| 1487 | |
| 1488 | def prepare_preview_spectrum_plot(self): |
| 1489 | if self._ax_preview: |
| 1490 | self._ax_preview.clear() |
| 1491 | else: |
| 1492 | self._ax_preview = self._fig_preview.add_subplot(111) |
| 1493 | self._ax_preview.set_facecolor("lightgrey") |
| 1494 | self._ax_preview.grid(which="both") |
| 1495 | |
| 1496 | self._fig_preview.set_visible(False) |
| 1497 | |
| 1498 | def _show_preview_spectrum_plot(self): |
| 1499 | # Completely redraw the plot each time the function is called |
no test coverage detected