Skip to content

Commit

Permalink
[graph-] fix small y-error offset in resize-y-input
Browse files Browse the repository at this point in the history
  • Loading branch information
midichef authored and saulpw committed Oct 4, 2024
1 parent 0014525 commit 541e552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion visidata/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def rowsWithin(self, plotter_bbox):
def zoomTo(self, bbox):
super().zoomTo(bbox)
self.fixPoint(Point(self.plotviewBox.xmin, self.plotviewBox.ymin),
Point(bbox.xmin, bbox.ymax + 1/4*self.canvasCharHeight))
Point(bbox.xmin, bbox.ymax))
self.resetBounds()

def scaleY(self, canvasY) -> int:
Expand Down

0 comments on commit 541e552

Please sign in to comment.