Pokémon sightings
There have been reports of sightings of rare, legendary Pokémon. You have been asked to investigate! Plot the coordinates of sightings to find out where the Pokémon might be. The X and Y coordinates of the points are stored in list x and y, respectively.
Latihan ini adalah bagian dari kursus
Cluster Analysis in Python
Petunjuk latihan
- Import the
pyplotclass frommatplotliblibrary asplt. - Create a scatter plot using the
pyplotclass. - Display the scatter plot created in the earlier step.
Latihan interaktif praktis
Cobalah latihan ini dengan menyelesaikan kode contoh berikut.
# Import plotting class from matplotlib library
from matplotlib import ____ as plt
# Create a scatter plot
plt.____(x, y)
# Display the scatter plot
plt.____()