我怎样才能让我的小部件使用等宽字体?
from ipywidgets import Textarea
Textarea('The world is bigger than you.')
我想显示一些表格样式的数据。
这也有效:
from IPython.display import display
from IPython.core.display import HTML
display(HTML("<style>textarea, input { font-family: monospace; }</style>"))
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)