I am trying to understand how to display buttons in an jupyter notebook, but the documentation is a bis sparse on this item.
It is mentioned there is an argument 'icon'. But what does it mean? What values can be used? Is there some documentation hidden somewhere else?
You can specify an icon from the Font Awesome 4.7 catalog, by prefacing with fa-
.
https://fontawesome.com/v4.7.0/icons/
import ipywidgets as ipyw
ipyw.Button(
description = 'Button',
icon = 'fa-bullhorn',
)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With