Skip to content

Commit

Permalink
[canvas-] silence GraphSheet error due to lack of guide
Browse files Browse the repository at this point in the history
  • Loading branch information
midichef committed Dec 9, 2024
1 parent ff489d3 commit d6e3a48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions visidata/canvas.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ class Canvas(Plotter):
rightMarginPixels = 4*2
topMarginPixels = 0*4
bottomMarginPixels = 1*4 # reserve bottom line for x axis
guide = '# Canvas\n'

def __init__(self, *names, **kwargs):
self.left_margin = self.leftMarginPixels
Expand Down

0 comments on commit d6e3a48

Please sign in to comment.