Spaces:
Build error
Build error
Commit
·
bbb63f1
1
Parent(s):
8092f7e
Fix ylim
Browse files
utils.py
CHANGED
@@ -163,7 +163,7 @@ def dataframe_to_pianoroll_img(df):
|
|
163 |
row["duration"], 0.4, color="white"
|
164 |
))
|
165 |
ax.set_xlim(0, 25)
|
166 |
-
ax.
|
167 |
plt.xlabel('Seconds', fontsize=18)
|
168 |
plt.ylabel('MIDI pitch', fontsize=16)
|
169 |
return fig
|
|
|
163 |
row["duration"], 0.4, color="white"
|
164 |
))
|
165 |
ax.set_xlim(0, 25)
|
166 |
+
ax.set_ylim(30, 100)
|
167 |
plt.xlabel('Seconds', fontsize=18)
|
168 |
plt.ylabel('MIDI pitch', fontsize=16)
|
169 |
return fig
|