Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python matplotlib multiple bars

df = pd.DataFrame(zip(x*3, ["y"]*3+["z"]*3+["k"]*3, y+z+k), columns=["time", "kind", "data"])
plt.figure(figsize=(10, 6))
sns.barplot(x="time", hue="kind", y="data", data=df)
plt.show()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Python #matplotlib #multiple #bars
ADD COMMENT
Topic
Name
8+3 =