pkiage commited on
Commit
de968d2
·
1 Parent(s): a0fe49c

feat: plotly chart responsive design

Browse files
Files changed (1) hide show
  1. src/visualization/visualize.py +3 -3
src/visualization/visualize.py CHANGED
@@ -48,19 +48,19 @@ def time_series_line_plot(data):
48
  fig = px.line(
49
  data
50
  )
51
- st.plotly_chart(fig)
52
 
53
 
54
  def time_series_scatter_plot(data):
55
  fig = px.scatter(
56
  data
57
  )
58
- st.plotly_chart(fig)
59
 
60
 
61
  def time_series_box_plot(data):
62
  fig = px.box(data, points="all")
63
- st.plotly_chart(fig)
64
 
65
 
66
  def time_series_line_and_box(data):
 
48
  fig = px.line(
49
  data
50
  )
51
+ st.plotly_chart(fig, use_container_width=True)
52
 
53
 
54
  def time_series_scatter_plot(data):
55
  fig = px.scatter(
56
  data
57
  )
58
+ st.plotly_chart(fig, use_container_width=True)
59
 
60
 
61
  def time_series_box_plot(data):
62
  fig = px.box(data, points="all")
63
+ st.plotly_chart(fig, use_container_width=True)
64
 
65
 
66
  def time_series_line_and_box(data):