Skip to content

Commit 417f3d7

Browse files
committed
update zoom and pan docstrings
1 parent 133442d commit 417f3d7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

plotpy/plot/base.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,8 @@ def do_pan_view(
550550
Args:
551551
dx (tuple[float, float, float, float]): the x axis 'state' tuple
552552
dy (tuple[float, float, float, float]): the y axis 'state' tuple
553+
replot: if True, do a full replot else just update the axes to avoid a
554+
redraw (default: True)
553555
"""
554556
# dx and dy are the output of the "DragHandler.get_move_state" method
555557
# (see module ``plotpy.events``)
@@ -588,6 +590,13 @@ def do_zoom_view(
588590
axis 'state' tuples
589591
590592
We try to keep initial pos fixed on the canvas as the scale changes
593+
594+
Args:
595+
dx (tuple[float, float, float, float]): the x axis 'state' tuple
596+
dy (tuple[float, float, float, float]): the y axis 'state' tuple
597+
lock_aspect_ratio: if True, the aspect ratio is locked
598+
replot: if True, do a full replot else just update the axes to avoid a
599+
redraw (default: True)
591600
"""
592601
# dx and dy are the output of the "DragHandler.get_move_state" method
593602
# (see module ``plotpy.events``):

0 commit comments

Comments
 (0)