Spaces:
Build error
Build error
Commit
•
5c6ebe7
1
Parent(s):
bbb63f1
Change color to black in piano-roll
Browse files
utils.py
CHANGED
@@ -160,7 +160,7 @@ def dataframe_to_pianoroll_img(df):
|
|
160 |
for _, row in df.iterrows():
|
161 |
ax.add_patch(Rectangle(
|
162 |
(row["start_time"], row["pitch"]-0.4),
|
163 |
-
row["duration"], 0.4, color="
|
164 |
))
|
165 |
ax.set_xlim(0, 25)
|
166 |
ax.set_ylim(30, 100)
|
|
|
160 |
for _, row in df.iterrows():
|
161 |
ax.add_patch(Rectangle(
|
162 |
(row["start_time"], row["pitch"]-0.4),
|
163 |
+
row["duration"], 0.4, color="black"
|
164 |
))
|
165 |
ax.set_xlim(0, 25)
|
166 |
ax.set_ylim(30, 100)
|