From 7281bbdfa8def59242a3a4836ed206e15b0dd951 Mon Sep 17 00:00:00 2001 From: Will Charczuk Date: Tue, 3 Oct 2023 08:43:15 -0700 Subject: [PATCH] tweaking how svg renders itself --- vector_renderer.go | 2 +- viridis.go | 512 ++++++++++++++++++++++----------------------- 2 files changed, 257 insertions(+), 257 deletions(-) diff --git a/vector_renderer.go b/vector_renderer.go index 8865c61..b1f847f 100644 --- a/vector_renderer.go +++ b/vector_renderer.go @@ -247,7 +247,7 @@ type canvas struct { func (c *canvas) Start(width, height int) { c.width = width c.height = height - c.w.Write([]byte(fmt.Sprintf(`\n`, c.width, c.height))) + c.w.Write([]byte(fmt.Sprintf(``, c.width, c.height))) if c.css != "" { c.w.Write([]byte(`