jupyter-bbox-widget icon indicating copy to clipboard operation
jupyter-bbox-widget copied to clipboard

How to configure size of widget, or size of lines, or font, or anything?

Open varung opened this issue 2 years ago • 1 comments

varung avatar Dec 03 '22 22:12 varung

You can use layout keyword to control overall size of the widget like this:

widget = BBoxWidget(
    image='fruit/fruit.jpg',
    classes=['apple', 'orange', 'pear'],
    layout={'width': '300px'},
)

As for font size and the rest - I don't think there's an easy way to do this currently.

gereleth avatar Dec 04 '22 13:12 gereleth