Einführung
Beim Datenvisualisierung ist es oft nützlich, mehrere Diagramme zu erstellen, die eine gemeinsame Achse teilen. Dies kann mit der subplots
-Funktion in Matplotlib erreicht werden. In diesem Tutorial lernen wir, wie wir benachbarte Subplots erstellen, die eine gemeinsame x-Achse teilen.
VM-Tipps
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 von Einschränkungen in 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
python(("Python")) -.-> python/DataStructuresGroup(["Data Structures"])
python(("Python")) -.-> python/BasicConceptsGroup(["Basic Concepts"])
matplotlib(("Matplotlib")) -.-> matplotlib/PlottingDataGroup(["Plotting Data"])
python(("Python")) -.-> python/ModulesandPackagesGroup(["Modules and Packages"])
python(("Python")) -.-> python/DataScienceandMachineLearningGroup(["Data Science and Machine Learning"])
matplotlib(("Matplotlib")) -.-> matplotlib/BasicConceptsGroup(["Basic Concepts"])
matplotlib/BasicConceptsGroup -.-> matplotlib/importing_matplotlib("Importing Matplotlib")
matplotlib/BasicConceptsGroup -.-> matplotlib/figures_axes("Understanding Figures and Axes")
python/BasicConceptsGroup -.-> python/booleans("Booleans")
matplotlib/PlottingDataGroup -.-> matplotlib/line_plots("Line Plots")
python/DataStructuresGroup -.-> python/lists("Lists")
python/DataStructuresGroup -.-> python/tuples("Tuples")
python/ModulesandPackagesGroup -.-> python/importing_modules("Importing Modules")
python/DataScienceandMachineLearningGroup -.-> python/numerical_computing("Numerical Computing")
python/DataScienceandMachineLearningGroup -.-> python/data_visualization("Data Visualization")
subgraph Lab Skills
matplotlib/importing_matplotlib -.-> lab-48751{{"Benachbarte Subplots erstellen"}}
matplotlib/figures_axes -.-> lab-48751{{"Benachbarte Subplots erstellen"}}
python/booleans -.-> lab-48751{{"Benachbarte Subplots erstellen"}}
matplotlib/line_plots -.-> lab-48751{{"Benachbarte Subplots erstellen"}}
python/lists -.-> lab-48751{{"Benachbarte Subplots erstellen"}}
python/tuples -.-> lab-48751{{"Benachbarte Subplots erstellen"}}
python/importing_modules -.-> lab-48751{{"Benachbarte Subplots erstellen"}}
python/numerical_computing -.-> lab-48751{{"Benachbarte Subplots erstellen"}}
python/data_visualization -.-> lab-48751{{"Benachbarte Subplots erstellen"}}
end