I have one problem. I am plotting graph using stem function. And my problem is that in variable values there are many zero values. And they make red line under my plotted graph. Is here any possibility how to dont make a marker when value is zero? Thank you.
keys = list(dictionary.keys())
values = list(dictionary.values())
plt.stem(keys,values,'-ro')
plt.show()


filtered = filter(lambda x: x[1]!=0, dictionary.items()).