✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚡️ Concerned about the grid? Kyle Baranko teaches how to predicting peak loads using XGBoost. Register for the August webinar!

Change text size of dbc tooltip?

I want to make the text in my tooltip bigger. By default it’s pretty small which is hard to read. Is there any way to do this?

Thanks in advance.

A lot of Dash-Bootstrap-Components are restricted by its max-width, so simply change its style:

‘This is a big tooltip!’,
target = ‘tooltip_target’,
style = {
‘font-size’: 50,
‘maxWidth’: 600,
‘width’: 600

1 Like