I am developing an app to do my data science job. in the app I have a text widget that I want show all results(including matplotlib) in it. how can I do this?