Return whether any artists have been added to the Axes. This should not be used to determine whether the *dataLim* need to be updated, and may not actually be useful for anything.
(self)
| 2323 | return self._current_image |
| 2324 | |
| 2325 | def has_data(self): |
| 2326 | """ |
| 2327 | Return whether any artists have been added to the Axes. |
| 2328 | |
| 2329 | This should not be used to determine whether the *dataLim* |
| 2330 | need to be updated, and may not actually be useful for |
| 2331 | anything. |
| 2332 | """ |
| 2333 | return any(isinstance(a, (mcoll.Collection, mimage.AxesImage, |
| 2334 | mlines.Line2D, mpatches.Patch)) |
| 2335 | for a in self._children) |
| 2336 | |
| 2337 | def add_artist(self, a): |
| 2338 | """ |
no outgoing calls
no test coverage detected