Skip to content
Snippets Groups Projects
Commit 2fe5df51 authored by Nils Tesdal's avatar Nils Tesdal
Browse files

Update intro.py

parent 6ba8b274
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,10 @@ from matplotlib import pyplot as plt ...@@ -5,7 +5,10 @@ from matplotlib import pyplot as plt
# display simple bar-chart # display simple bar-chart
plt.bar(['A', 'B', 'C'], [2, 6, 5], 0.9) x = range(3)
y = [2, 6, 5]
plt.bar(x, y, 0.9)
plt.xticks(x, ('A', 'B', 'C'))
plt.show() plt.show()
# Read csv-file from disk into dataframe object # Read csv-file from disk into dataframe object
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment