tx3bas commited on
Commit
db93aa0
路
verified 路
1 Parent(s): 5438e35

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -145,7 +145,7 @@ else:
145
  fig.update_traces(marker_color=color, marker_line_color=border_color, marker_line_width=border_width)
146
  elif chart_type == "Barras":
147
  if horizontal_bars:
148
- fig = px.bar(data, x=y_names_list[0], y="X", orientation='h', barmode='stack' if stacked_bars else 'group')
149
  else:
150
  fig = px.bar(data, x="X", y=y_names_list, barmode='stack' if stacked_bars else 'group')
151
  fig.update_traces(hovertemplate=hovertemplate)
@@ -215,5 +215,4 @@ else:
215
  fig.update_layout(xaxis_autorange=True, yaxis_autorange=True)
216
 
217
  # Informaci贸n adicional
218
- st.write("""
219
- """)
 
145
  fig.update_traces(marker_color=color, marker_line_color=border_color, marker_line_width=border_width)
146
  elif chart_type == "Barras":
147
  if horizontal_bars:
148
+ fig = px.bar(data, x=y_names_list, y="X", orientation='h', barmode='stack' if stacked_bars else 'group')
149
  else:
150
  fig = px.bar(data, x="X", y=y_names_list, barmode='stack' if stacked_bars else 'group')
151
  fig.update_traces(hovertemplate=hovertemplate)
 
215
  fig.update_layout(xaxis_autorange=True, yaxis_autorange=True)
216
 
217
  # Informaci贸n adicional
218
+ st.write("Aqu铆 puede a帽adir informaci贸n adicional sobre los gr谩ficos generados.")