@salascorp wrote:
Hello
I am triying to modify the size of my figure. I want to do that beacuse I can not see some labels in a graph.
.import plotly.graph_objects as go fig = go.Figure(go.Bar( x=dfEstrato.Estrato, y=dfEstrato.Part, text=dfEstrato.Part, texttemplate = "%{y}%", textposition = "outside", orientation='v')) fig.update_traces(marker_color='#000080') fig.update_layout(title_text='3. Estrato Socioeconomico',yaxis = go.YAxis(showticklabels=False)) fig.show()
This is the datafreme dfEstrato.
Thanks
Posts: 2
Participants: 2