ok, i have found it. it just needs to be fig_pie.update_traces(textinfo='none')
, but it hides all. now i wonder if there is a way to CODITIONALY hide the % labels.
lets say i have a pie chart like this
and i would like to hide all that does not fit into the the pie, or i want to leave only the first ten biggest… or something like that. just whatever based on a contiditon.
how would i do that?