Material-icon in annotation

I am trying to add a logo to the annotation. Unfortunately, it shows as text instead of icon. Is there way to change that?

annotations = [dict(
align=‘center’,
xref=“paper”,
yref=“paper”,
showarrow=False,
font=dict(
family=“Courier New, monospace”,
size=26,
color=“#ffffff
),
text=“Gender gender”,
)]

It depends on the icon you want to show. Maybe unicode icons are an option for you: