Skip to content
Snippets Groups Projects

Matplotlib: removed use_line_collection since it is deprecated

Merged Christian Rohlfing requested to merge rohlfing/update-matplotlib-dependencies into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -333,7 +333,7 @@ mcolors.get_named_colors_mapping().update(colors.rwth_colors)
# Custom stem function
def stem(ax, x, y, color='rwth:blue', **kwargs):
container = ax.stem(x, y, use_line_collection=True, basefmt=" ", **kwargs)
container = ax.stem(x, y, basefmt=" ", **kwargs)
plt.setp(container, 'color', color)
return container
Loading