Suppose we have a treemap like this: import plotly.graph_objects as go fig = go.Figure(go.Treemap( parents=['', '', 'A', 'A', 'B'], labels=['A', 'B', 'a1', 'a2', 'b1'] )) fig.show() And we need to rotate the b1 label to 90 degrees. Is it possible to do in pyplot? Continue reading...