Einführung
In diesem Lab werden wir lernen, wie man die Position von Achsenbeschriftungen und Farbskalenbeschriftungen in Matplotlib einstellt. Wir werden die Methoden set_xlabel
, set_ylabel
und colorbar
verwenden, um die Position der Beschriftungen festzulegen.
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 nutzen.
Manchmal müssen Sie einige Sekunden warten, bis Jupyter Notebook vollständig geladen ist. Die Validierung von Vorgängen kann aufgrund der Einschränkungen in Jupyter Notebook nicht automatisiert werden.
Wenn Sie während des Lernens 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
python(("Python")) -.-> python/DataStructuresGroup(["Data Structures"])
python(("Python")) -.-> python/ModulesandPackagesGroup(["Modules and Packages"])
python(("Python")) -.-> python/DataScienceandMachineLearningGroup(["Data Science and Machine Learning"])
matplotlib(("Matplotlib")) -.-> matplotlib/BasicConceptsGroup(["Basic Concepts"])
matplotlib(("Matplotlib")) -.-> matplotlib/PlottingDataGroup(["Plotting Data"])
matplotlib/BasicConceptsGroup -.-> matplotlib/importing_matplotlib("Importing Matplotlib")
matplotlib/BasicConceptsGroup -.-> matplotlib/figures_axes("Understanding Figures and Axes")
matplotlib/PlottingDataGroup -.-> matplotlib/scatter_plots("Scatter Plots")
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-48569{{"Matplotlib Achsenposition"}}
matplotlib/figures_axes -.-> lab-48569{{"Matplotlib Achsenposition"}}
matplotlib/scatter_plots -.-> lab-48569{{"Matplotlib Achsenposition"}}
python/lists -.-> lab-48569{{"Matplotlib Achsenposition"}}
python/tuples -.-> lab-48569{{"Matplotlib Achsenposition"}}
python/importing_modules -.-> lab-48569{{"Matplotlib Achsenposition"}}
python/data_visualization -.-> lab-48569{{"Matplotlib Achsenposition"}}
end