Spaces:
Running
Running
removing hover
Browse files
app.py
CHANGED
@@ -66,13 +66,6 @@ fig1.update_traces(
|
|
66 |
|
67 |
fig2 = px.scatter(modalities_df, x="num_params", y="query emissions (g)", color="modality",
|
68 |
log_x=True, log_y=True, custom_data=['model','task'])
|
69 |
-
|
70 |
-
fig2.update_traces(
|
71 |
-
hovertemplate="<br>".join([
|
72 |
-
"Model: %{customdata[0]}",
|
73 |
-
"Task: %{customdata[1]}",
|
74 |
-
])
|
75 |
-
)
|
76 |
fig2.update_layout(xaxis_title='Model size (number of parameters)')
|
77 |
fig2.update_layout(yaxis_title='Model emissions (g of CO<sub>2</sub>)')
|
78 |
|
|
|
66 |
|
67 |
fig2 = px.scatter(modalities_df, x="num_params", y="query emissions (g)", color="modality",
|
68 |
log_x=True, log_y=True, custom_data=['model','task'])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
fig2.update_layout(xaxis_title='Model size (number of parameters)')
|
70 |
fig2.update_layout(yaxis_title='Model emissions (g of CO<sub>2</sub>)')
|
71 |
|