(self, *args, **kwargs)
| 727 | return self._apply_operator(operator.getitem, other) |
| 728 | |
| 729 | def _plot(self, *args, **kwargs): |
| 730 | # TODO: Seems totally unused to me, as self._plot is set to a boolean in __init__ |
| 731 | @pn.depends() |
| 732 | def get_ax(): |
| 733 | from matplotlib.backends.backend_agg import FigureCanvas |
| 734 | from matplotlib.pyplot import Figure |
| 735 | |
| 736 | Interactive._fig = fig = Figure() |
| 737 | FigureCanvas(fig) |
| 738 | return fig.subplots() |
| 739 | |
| 740 | kwargs['ax'] = get_ax |
| 741 | new = self._resolve_accessor() |
| 742 | transform = new._transform |
| 743 | transform = type(transform)(transform, 'plot', accessor=True) |
| 744 | return new._clone(transform(*args, **kwargs), plot=True) |
| 745 | |
| 746 | # ---------------------------------------------------------------- |
| 747 | # Public API |
nothing calls this directly
no test coverage detected