matlab-qualgraphs-notes
MatPlotLib Qualitative Graphing Notes
from matplotlib import pyplot as plt
drinks = ["cappuccino", "latte", "chai", "americano", "mocha", "espresso"]
sales = [91, 76, 56, 66, 52, 27]
plt.bar(range(len(drinks)), sales)
ax = plt.subplot(1, 1, 1)
ax.set_xticks(range(len(drinks)))
ax.set_xticklabels(drinks)
plt.show()
Bar Graphs with more than One Bar





Line Graphs with Neat Features

Pie Charts

Last updated