I am using plotly to create a horizontal bar chart in Google Colab using this library:
import plotly.graph_objects as go
fig = go.Figure()
It displays correctly on the screen, but when I try to print it to a PNG file using :
!pip install -U kaleido
fig.write_image(symbol + ' Financial Summary.png')
The PNG is created, but the Bar text is being truncated. Here is an image of the output.

Here are my settings for the Return on Invested Capital Bar. How can I get it to display the full text?
and here is the final fig.show() section:
Any ideas?