Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -116,7 +116,6 @@ fig = px.scatter(
|
|
| 116 |
y="y",
|
| 117 |
opacity=DF["opacity"],
|
| 118 |
color=DF["cluster"],
|
| 119 |
-
animation_frame=DF["year"],
|
| 120 |
width=1000,
|
| 121 |
height=800,
|
| 122 |
custom_data=("title", "authors_trimmed", "year"),
|
|
@@ -143,7 +142,6 @@ fig.update_layout(
|
|
| 143 |
|
| 144 |
fig.update_xaxes(title="")
|
| 145 |
fig.update_yaxes(title="")
|
| 146 |
-
fig.update_layout(transition = {'duration': 1000})
|
| 147 |
|
| 148 |
st.plotly_chart(fig, use_container_width=True)
|
| 149 |
|
|
|
|
| 116 |
y="y",
|
| 117 |
opacity=DF["opacity"],
|
| 118 |
color=DF["cluster"],
|
|
|
|
| 119 |
width=1000,
|
| 120 |
height=800,
|
| 121 |
custom_data=("title", "authors_trimmed", "year"),
|
|
|
|
| 142 |
|
| 143 |
fig.update_xaxes(title="")
|
| 144 |
fig.update_yaxes(title="")
|
|
|
|
| 145 |
|
| 146 |
st.plotly_chart(fig, use_container_width=True)
|
| 147 |
|