MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / start_pan

Method start_pan

lib/matplotlib/axes/_base.py:4498–4519  ·  view source on GitHub ↗

Called when a pan operation has started. Parameters ---------- x, y : float The mouse coordinates in display coords. button : `.MouseButton` The pressed mouse button. Notes ----- This is intended to be overrid

(self, x, y, button)

Source from the content-addressed store, hash-verified

4496 self.set_autoscaley_on(False)
4497
4498 def start_pan(self, x, y, button):
4499 """
4500 Called when a pan operation has started.
4501
4502 Parameters
4503 ----------
4504 x, y : float
4505 The mouse coordinates in display coords.
4506 button : `.MouseButton`
4507 The pressed mouse button.
4508
4509 Notes
4510 -----
4511 This is intended to be overridden by new projection types.
4512 """
4513 self._pan_start = types.SimpleNamespace(
4514 lim=self.viewLim.frozen(),
4515 trans=self.transData.frozen(),
4516 trans_inverse=self.transData.inverted().frozen(),
4517 bbox=self.bbox.frozen(),
4518 x=x,
4519 y=y)
4520
4521 def end_pan(self):
4522 """

Callers 6

_on_moveMethod · 0.45
drag_panMethod · 0.45
_set_view_from_bboxMethod · 0.45
_pressMethod · 0.45
press_panMethod · 0.45

Calls 2

frozenMethod · 0.45
invertedMethod · 0.45

Tested by 1