Spaces:
Runtime error
Runtime error
Fixing gray background on plot
Browse files
app.py
CHANGED
@@ -371,7 +371,7 @@ def sliding_window(text):
|
|
371 |
plt.ylabel('Difficulty Score', fontweight='bold')
|
372 |
plt.suptitle('Difficulty Score Across Text', fontsize=14, fontweight='bold')
|
373 |
plt.style.use('ggplot')
|
374 |
-
|
375 |
fig = plt.gcf()
|
376 |
|
377 |
map = [('', 0)]
|
|
|
371 |
plt.ylabel('Difficulty Score', fontweight='bold')
|
372 |
plt.suptitle('Difficulty Score Across Text', fontsize=14, fontweight='bold')
|
373 |
plt.style.use('ggplot')
|
374 |
+
ax.set_facecolor('w')
|
375 |
fig = plt.gcf()
|
376 |
|
377 |
map = [('', 0)]
|