From d6e3a4891af0dddbb31f471b8e06b116a7539bdd Mon Sep 17 00:00:00 2001 From: midichef <67946319+midichef@users.noreply.github.com> Date: Mon, 9 Dec 2024 12:34:05 -0800 Subject: [PATCH 1/2] [canvas-] silence GraphSheet error due to lack of guide --- visidata/canvas.py | 1 + 1 file changed, 1 insertion(+) diff --git a/visidata/canvas.py b/visidata/canvas.py index fd4d96356..9450c6a30 100644 --- a/visidata/canvas.py +++ b/visidata/canvas.py @@ -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 From f23f3eda614937c04d550f14f8f09b2549aad8f9 Mon Sep 17 00:00:00 2001 From: midichef <67946319+midichef@users.noreply.github.com> Date: Sun, 8 Dec 2024 13:36:22 -0800 Subject: [PATCH 2/2] [graph-] change row word from "plots" to "points" --- visidata/graph.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/visidata/graph.py b/visidata/graph.py index e9b5c1858..4ed6da6f7 100644 --- a/visidata/graph.py +++ b/visidata/graph.py @@ -72,6 +72,8 @@ def startCursor(self): # provides axis labels, legend class GraphSheet(InvertedCanvas): + rowtype = 'points' + def __init__(self, *names, **kwargs): self.ylabel_maxw = 0 super().__init__(*names, **kwargs)