Set the antialiasing state for rendering. Parameters ---------- aa : bool or list of bools
(self, aa)
| 811 | return self._antialiaseds |
| 812 | |
| 813 | def set_antialiased(self, aa): |
| 814 | """ |
| 815 | Set the antialiasing state for rendering. |
| 816 | |
| 817 | Parameters |
| 818 | ---------- |
| 819 | aa : bool or list of bools |
| 820 | """ |
| 821 | if aa is None: |
| 822 | aa = self._get_default_antialiased() |
| 823 | self._antialiaseds = np.atleast_1d(np.asarray(aa, bool)) |
| 824 | self.stale = True |
| 825 | |
| 826 | def _get_default_antialiased(self): |
| 827 | # This may be overridden in a subclass. |
no test coverage detected