Hi @guilhermeely,
This is how you can do it
import plotly.express as px
data_canada = px.data.gapminder().query("country == 'Canada'")
fig = px.bar(data_canada, x='year', y='pop')
fig.update_traces(width=1)
fig.show()
before updating figure:
after updating figure:
You should also have a look at the documentation, there are plenty of examples there:
hope this helps, Alex -