Spaces:
Running
Running
removing hover
Browse files
app.py
CHANGED
@@ -57,12 +57,6 @@ fig1 = px.scatter(finetuned_df, x="task", y="query_energy (kWh)", color="model",
|
|
57 |
fig1.update_layout(xaxis={'categoryorder':'mean ascending'})
|
58 |
fig1.update_layout(yaxis_title='Total energy used (Wh)')
|
59 |
fig1.update_layout(xaxis_title='Task')
|
60 |
-
fig1.update_traces(
|
61 |
-
hovertemplate="<br>".join([
|
62 |
-
"Model: %{customdata[0]}",
|
63 |
-
"Task: %{customdata[1]}",
|
64 |
-
])
|
65 |
-
)
|
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'])
|
|
|
57 |
fig1.update_layout(xaxis={'categoryorder':'mean ascending'})
|
58 |
fig1.update_layout(yaxis_title='Total energy used (Wh)')
|
59 |
fig1.update_layout(xaxis_title='Task')
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
|
61 |
fig2 = px.scatter(modalities_df, x="num_params", y="query emissions (g)", color="modality",
|
62 |
log_x=True, log_y=True, custom_data=['model','task'])
|