Spaces:
Sleeping
Sleeping
Commit
·
4a1ae17
1
Parent(s):
5cb6105
Fixing X-Scale issue
Browse files- .gitignore +3 -1
- app.py +1 -0
.gitignore
CHANGED
|
@@ -1,2 +1,4 @@
|
|
| 1 |
data/
|
| 2 |
-
test.ipynb
|
|
|
|
|
|
|
|
|
| 1 |
data/
|
| 2 |
+
test.ipynb
|
| 3 |
+
*.csv
|
| 4 |
+
*.xlsx
|
app.py
CHANGED
|
@@ -101,6 +101,7 @@ def generate_plot(df2, col):
|
|
| 101 |
plt.ylabel("Value")
|
| 102 |
plt.legend(fontsize='small')
|
| 103 |
plt.grid(True, linestyle='--', alpha=0.7)
|
|
|
|
| 104 |
plt.tight_layout()
|
| 105 |
|
| 106 |
buf = io.BytesIO()
|
|
|
|
| 101 |
plt.ylabel("Value")
|
| 102 |
plt.legend(fontsize='small')
|
| 103 |
plt.grid(True, linestyle='--', alpha=0.7)
|
| 104 |
+
plt.xticks(np.arange(1, len(df1[col]) + 1))
|
| 105 |
plt.tight_layout()
|
| 106 |
|
| 107 |
buf = io.BytesIO()
|