Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
FedeClaudi committed Feb 15, 2021
1 parent 68e165d commit 5d6d53b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions termplotlib/figure.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5d6d53b

Please sign in to comment.