diff --git a/writer/standard/writer.go b/writer/standard/writer.go index cdd3ec6..9054846 100644 --- a/writer/standard/writer.go +++ b/writer/standard/writer.go @@ -66,10 +66,6 @@ const ( ) func (w Writer) Write(mat matrix.Matrix) error { - defer func() { - _ = w.Close() - }() - return drawTo(w.closer, mat, w.option) }