Re-initialize the major and minor Tick lists. Each list starts with a single fresh Tick.
(self)
| 932 | self.stale = True |
| 933 | |
| 934 | def reset_ticks(self): |
| 935 | """ |
| 936 | Re-initialize the major and minor Tick lists. |
| 937 | |
| 938 | Each list starts with a single fresh Tick. |
| 939 | """ |
| 940 | # Restore the lazy tick lists. |
| 941 | try: |
| 942 | del self.majorTicks |
| 943 | except AttributeError: |
| 944 | pass |
| 945 | try: |
| 946 | del self.minorTicks |
| 947 | except AttributeError: |
| 948 | pass |
| 949 | try: |
| 950 | self.set_clip_path(self.axes.patch) |
| 951 | except AttributeError: |
| 952 | pass |
| 953 | |
| 954 | def minorticks_on(self): |
| 955 | """ |