(self)
| 2439 | |
| 2440 | |
| 2441 | def toggle_view(self): |
| 2442 | self.is_plan_view = not self.is_plan_view # Toggle the view attribute |
| 2443 | if self.is_plan_view: |
| 2444 | self.toggle_view_button.setText("Change to Cross Section View") |
| 2445 | else: |
| 2446 | self.toggle_view_button.setText("Change to Plan View") |
| 2447 | |
| 2448 | self.generate_contours_flag = False |
| 2449 | self.plot() # Replot the data |
| 2450 | |
| 2451 | |
| 2452 | def activate_hover_tool(self): |