juancopi81 commited on
Commit
5c6ebe7
1 Parent(s): bbb63f1

Change color to black in piano-roll

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
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="white"
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)