increase 22bar width 22 22px bar 22

Solutions on MaxInterview for increase 22bar width 22 22px bar 22 by the best coders in the world

showing results for - "increase 22bar width 22 22px bar 22"
Tiernan
29 Jul 2017
1import plotly.express as px
2
3fig = px.bar(x = ['a', 'b', 'c'], y = [5, 10, 12])
4
5for data in fig.data:
6    data["width"] = 0.15 #Change this value for bar widths
7    
8fig.show()