maom commited on
Commit
84fc864
·
verified ·
1 Parent(s): ac9ba30

try to make the chart square

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -76,7 +76,10 @@ chart_data = chart_data.merge(
76
  on = "run_accession")
77
 
78
  chart = (
79
- alt.Chart(chart_data)
 
 
 
80
  .mark_circle()
81
  .encode(
82
  x="expression_1",
@@ -85,7 +88,6 @@ chart = (
85
  tooltip=["run_accession", "study_accession"]))
86
 
87
  st.altair_chart(
88
- chart,
89
- use_container_width=True)
90
 
91
 
 
76
  on = "run_accession")
77
 
78
  chart = (
79
+ alt.Chart(
80
+ chart_data,
81
+ width = 2000,
82
+ height = 2000)
83
  .mark_circle()
84
  .encode(
85
  x="expression_1",
 
88
  tooltip=["run_accession", "study_accession"]))
89
 
90
  st.altair_chart(
91
+ chart)
 
92
 
93