MCPcopy Create free account
hub / github.com/bsomps/OpenGeoPlotter / toggle_view

Method toggle_view

OGP_v11.py:2441–2449  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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):

Callers

nothing calls this directly

Calls 1

plotMethod · 0.95

Tested by

no test coverage detected