Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -41,13 +41,13 @@ fig = px.scatter(
|
|
41 |
x="x",
|
42 |
y="y",
|
43 |
color="cluster",
|
44 |
-
width=
|
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=
|
51 |
showlegend=False,
|
52 |
font=dict(
|
53 |
family="Times New Roman",
|
@@ -57,4 +57,4 @@ fig.update_layout(
|
|
57 |
fig.update_xaxes(title="")
|
58 |
fig.update_yaxes(title="")
|
59 |
|
60 |
-
st.plotly_chart(fig)
|
|
|
41 |
x="x",
|
42 |
y="y",
|
43 |
color="cluster",
|
44 |
+
width=1200,
|
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=10, b=10),
|
51 |
showlegend=False,
|
52 |
font=dict(
|
53 |
family="Times New Roman",
|
|
|
57 |
fig.update_xaxes(title="")
|
58 |
fig.update_yaxes(title="")
|
59 |
|
60 |
+
st.plotly_chart(fig, use_container_width=True)
|