Einführung
Matplotlib ist eine Python-Bibliothek, die zur Datenvisualisierung verwendet wird. In diesem Lab werden wir lernen, wie man einer Grafik in Matplotlib eine Farbskala hinzufügt. Farbskalen sind hilfreich, um den Wertebereich anzuzeigen, den eine Farbpalette repräsentiert.
Tipps für die VM
Nachdem der VM-Start abgeschlossen ist, klicken Sie in der oberen linken Ecke, um zur Registerkarte Notebook zu wechseln und Jupyter Notebook für die Übung zu öffnen.
Manchmal müssen Sie einige Sekunden warten, bis Jupyter Notebook vollständig geladen ist. Die Validierung von Vorgängen kann aufgrund der Einschränkungen von Jupyter Notebook nicht automatisiert werden.
Wenn Sie bei der Lernphase Probleme haben, können Sie Labby gerne fragen. Geben Sie nach der Sitzung Feedback, und wir werden das Problem für Sie prompt beheben.
Skills Graph
%%%%{init: {'theme':'neutral'}}%%%%
flowchart RL
matplotlib(("Matplotlib")) -.-> matplotlib/BasicConceptsGroup(["Basic Concepts"])
matplotlib(("Matplotlib")) -.-> matplotlib/PlottingDataGroup(["Plotting Data"])
python(("Python")) -.-> python/DataStructuresGroup(["Data Structures"])
python(("Python")) -.-> python/ModulesandPackagesGroup(["Modules and Packages"])
python(("Python")) -.-> python/DataScienceandMachineLearningGroup(["Data Science and Machine Learning"])
matplotlib/BasicConceptsGroup -.-> matplotlib/importing_matplotlib("Importing Matplotlib")
matplotlib/BasicConceptsGroup -.-> matplotlib/figures_axes("Understanding Figures and Axes")
matplotlib/PlottingDataGroup -.-> matplotlib/heatmaps("Heatmaps")
python/DataStructuresGroup -.-> python/lists("Lists")
python/DataStructuresGroup -.-> python/tuples("Tuples")
python/ModulesandPackagesGroup -.-> python/importing_modules("Importing Modules")
python/DataScienceandMachineLearningGroup -.-> python/data_visualization("Data Visualization")
subgraph Lab Skills
matplotlib/importing_matplotlib -.-> lab-48669{{"Füge einer Matplotlib-Grafik eine Farbskala hinzu"}}
matplotlib/figures_axes -.-> lab-48669{{"Füge einer Matplotlib-Grafik eine Farbskala hinzu"}}
matplotlib/heatmaps -.-> lab-48669{{"Füge einer Matplotlib-Grafik eine Farbskala hinzu"}}
python/lists -.-> lab-48669{{"Füge einer Matplotlib-Grafik eine Farbskala hinzu"}}
python/tuples -.-> lab-48669{{"Füge einer Matplotlib-Grafik eine Farbskala hinzu"}}
python/importing_modules -.-> lab-48669{{"Füge einer Matplotlib-Grafik eine Farbskala hinzu"}}
python/data_visualization -.-> lab-48669{{"Füge einer Matplotlib-Grafik eine Farbskala hinzu"}}
end