Erase the Graph - Removes all figures previously "drawn" using the Graph methods (e.g. DrawText)
(self)
| 6587 | return id |
| 6588 | |
| 6589 | def erase(self): |
| 6590 | """ |
| 6591 | Erase the Graph - Removes all figures previously "drawn" using the Graph methods (e.g. DrawText) |
| 6592 | """ |
| 6593 | if self._TKCanvas2 is None: |
| 6594 | print('*** WARNING - The Graph element has not been finalized and cannot be drawn upon ***') |
| 6595 | print('Call Window.Finalize() prior to this operation') |
| 6596 | return None |
| 6597 | self.Images = {} |
| 6598 | try: # in case window was closed with X |
| 6599 | self._TKCanvas2.delete('all') |
| 6600 | except: |
| 6601 | pass |
| 6602 | |
| 6603 | def delete_figure(self, id): |
| 6604 | """ |
no outgoing calls
no test coverage detected