It is a topic from comment
So I did not get an answer, and I hope to get an answer from a new topic.
Result:
My code
fig = go.Figure(data=[go.Bar(x = ICP['Name'], y = ICP['au'],
text=round(ICP['au'], 3),
textposition='auto')])
fig.update_yaxes(type="log", showgrid=True, dtick=1)
#your method
tickvals = np.concatenate((np.arange(0.004, 0.01, 0.001),
np.arange(0.01, 0.1, 0.01),
np.arange(0.1, 1.1, 0.1),
np.arange(1, 10.1, 1)))
ticktext = [str(val) if val in [0.01, 0.1, 1, 10] else '' for val in tickvals]
fig.update_yaxes(type="log", tickvals=tickvals, ticktext=ticktext, showgrid=True)
fig.update_layout(
template="simple_white",
#title="Us influence on CO conversion",
xaxis_title= "Type",
yaxis_title="log, [%]",
font=dict(
size=14,
color="black")
)
fig.show()
Can somebody answer, why Y title moved to left so far and how to correct it?