Python Plotly format axis numbers as %
You can use ticksuffix in the layout options.
yaxis=dict(ticksuffix=".00%")
layout = go.Layout(
yaxis=dict(ticksuffix=".00%", tickangle=45, title='Percentage Change(%)')
https://plot.ly/python/reference/#layout-yaxis
You could set tickformat
in the layout
options.
import plotly.graph_objects as go
layout = go.Layout(yaxis=dict(tickformat=".2%"))