From 5d6d53b34828adba0fd15aaa19182ca210a2f887 Mon Sep 17 00:00:00 2001 From: FedeClaudi Date: Mon, 15 Feb 2021 12:17:43 +0000 Subject: [PATCH] bump --- termplotlib/figure.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/termplotlib/figure.py b/termplotlib/figure.py index 50f7f11..d17ebe6 100644 --- a/termplotlib/figure.py +++ b/termplotlib/figure.py @@ -16,6 +16,9 @@ def __init__(self, width=None, padding=0): self._padding = create_padding_tuple(padding) return + def __rich_console__(self, *args): + yield self.get_string() + def aprint(self, string): self._content.append(string.split("\n")) return