Final Challenge
Swipe to start coding
This is the right time for the final task of drawing a plot based on the material we have learned in this course. After completing this task, you will definitely be ready to create cool and colorful graphics for your future projects 🥳.
-
Import the
seabornwithsnsalias. -
Import the
matplotlib.pyplotwithpltalias. -
Import the
pandaswithpdalias. -
Read the file.
-
Set
bluecolor forboy,pinkforgirlvalues. -
Set a
histplotvariable with histplot'sbinwidth = 0.1,data = df. -
Set the title
'Yummy fish!'. -
Set the xlabel
'Kilos of fish'. -
Set the context
paper. -
Set the unique style:
'axes.facecolor' - 'white','figure.facecolor' - 'black','axes.labelcolor' - 'white','xtick.color':'white','ytick.color':'white'. -
Show the plot.
Solution
Merci pour vos commentaires !
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Résumer ce chapitre
Expliquer le code dans file
Expliquer pourquoi file ne résout pas la tâche
Awesome!
Completion rate improved to 5.88
Final Challenge
Glissez pour afficher le menu
Swipe to start coding
This is the right time for the final task of drawing a plot based on the material we have learned in this course. After completing this task, you will definitely be ready to create cool and colorful graphics for your future projects 🥳.
-
Import the
seabornwithsnsalias. -
Import the
matplotlib.pyplotwithpltalias. -
Import the
pandaswithpdalias. -
Read the file.
-
Set
bluecolor forboy,pinkforgirlvalues. -
Set a
histplotvariable with histplot'sbinwidth = 0.1,data = df. -
Set the title
'Yummy fish!'. -
Set the xlabel
'Kilos of fish'. -
Set the context
paper. -
Set the unique style:
'axes.facecolor' - 'white','figure.facecolor' - 'black','axes.labelcolor' - 'white','xtick.color':'white','ytick.color':'white'. -
Show the plot.
Solution
Merci pour vos commentaires !
single