Can Jupyter hold with the charts?
As we mentioned before, Jupyter provides us in particular with matplotlib
library, which allows us to build charts.
Oppgave
Swipe to start coding
Create two lists of points. Choose at least 2-3 numbers in each list.
Løsning
9
1
2
3
4
5
6
7
# create x and y numbers
x = [1,2,3]
y = [20,15,13]
# import library
import matplotlib.pyplot as plt
plt.plot(x, y)
Mark tasks as Completed
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 5
9
1
taskCode
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår