ehsk commited on
Commit
e4c8a16
1 Parent(s): c56172c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -21,7 +21,7 @@ def load_df(data_file: os.PathLike):
21
  return df
22
 
23
 
24
- @st.cache
25
  def load_dataframes():
26
  return {venue: load_df(df_file) for venue, df_file in OPTS.items()}
27
 
@@ -41,8 +41,10 @@ fig = px.scatter(
41
  x="x",
42
  y="y",
43
  color="cluster",
44
- height=700,
 
45
  hover_data=["title", "authors", "year", "source", "type"],
 
46
  )
47
  fig.update_layout(
48
  margin=dict(l=10, r=10, t=20, b=20),
 
21
  return df
22
 
23
 
24
+ @st.cache_data
25
  def load_dataframes():
26
  return {venue: load_df(df_file) for venue, df_file in OPTS.items()}
27
 
 
41
  x="x",
42
  y="y",
43
  color="cluster",
44
+ width=1080,
45
+ height=750,
46
  hover_data=["title", "authors", "year", "source", "type"],
47
+ color_continuous_scale="fall",
48
  )
49
  fig.update_layout(
50
  margin=dict(l=10, r=10, t=20, b=20),