Skip to content

Commit 284120c

Browse files
author
armand
committed
Improved zoom on click
1 parent d077d1e commit 284120c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

mprof.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,7 @@ def mouse_click_handler(event):
615615
toolbar = pl.gcf().canvas.toolbar
616616
toolbar.push_current()
617617
timestamp_ax.set_xlim(x0, x1)
618+
timestamp_ax.set_ylim(y0, stack_size + 1)
618619
toolbar.push_current()
619620
pl.draw()
620621
return

0 commit comments

Comments
 (0)