Python3 in JupyterLab: How to change font-size of the output from Python?

It’s not an pretty solution, but if you’re running a trusted notebook then you can style the page from python:

from IPython.display import HTML
display(HTML('''<style>[data-mime-type="application/vnd.jupyter.stdout"] pre { font-size:20px}</style>'''))
1 Like