how to set the x and y axis title in plotly express bar

import plotly.express as px

fig = px.bar(df, x='category', y='values')

fig.update_layout( xaxis_title="Category", yaxis_title="Values" )

fig.show()