Spaces:
Running
Running
Lev McKinney
commited on
Commit
·
04cc41f
1
Parent(s):
d115284
removed dark theme from plot
Browse files
app.py
CHANGED
|
@@ -43,12 +43,6 @@ def make_plot(lens, text, statistic, token_cutoff):
|
|
| 43 |
start_pos=max(len(input_ids[0]) - token_cutoff, 0),
|
| 44 |
statistic=statistic_options_dict[statistic],
|
| 45 |
)
|
| 46 |
-
fig.update_layout(template="plotly_dark")
|
| 47 |
-
|
| 48 |
-
# Update the colorscale of the heatmap trace
|
| 49 |
-
for trace in fig.data:
|
| 50 |
-
if trace.type == "heatmap":
|
| 51 |
-
trace.update(colorscale="Inferno")
|
| 52 |
|
| 53 |
return fig
|
| 54 |
|
|
|
|
| 43 |
start_pos=max(len(input_ids[0]) - token_cutoff, 0),
|
| 44 |
statistic=statistic_options_dict[statistic],
|
| 45 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
|
| 47 |
return fig
|
| 48 |
|