removed stdout pollution

This commit is contained in:
Guillaume Raffy 2022-02-16 17:45:46 +01:00
parent 428651fa8a
commit 45f0a397a3
1 changed files with 2 additions and 2 deletions

View File

@ -173,7 +173,7 @@ def stackplot(ax, x_signal, y_signals, legend_location='best'):
y_stack = np.cumsum(y, axis=0) # a 3x10 array
last_lab = None
color_index = 0
print(colors)
# print(colors)
for series_index in range(len(y_signals)):
if series_index == 0:
from_signal = 0
@ -185,7 +185,7 @@ def stackplot(ax, x_signal, y_signals, legend_location='best'):
if lab != last_lab:
color_index = (color_index + num_unused_colors_between_labs) % num_colors
last_lab = lab
print(color_index)
# print(color_index)
color = colors[color_index]
ax.fill_between(x_signal, from_signal, y_stack[series_index, :], color=color, lw=0.0)
p = plt.Rectangle((0, 0), 0, 0, color=color)