Einführung
In diesem Tutorial wird Ihnen der schrittweise Prozess zum Erstellen eines Balkendiagramms mit der Matplotlib-Bibliothek in Python gezeigt. Das Beispiel in diesem Tutorial zeigt, wie die Standardmaße Zentimeter und Zoll verwendet werden, wie die x- und y-Einheiten mit verschiedenen Schlüsselwörtern festgelegt werden und wie die x-Begrenzungen mit Skalaren oder Maßen festgelegt werden.
Tipps für virtuelle Maschinen
Nachdem der virtuelle Maschinenstart 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 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
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"])
python(("Python")) -.-> python/DataStructuresGroup(["Data Structures"])
matplotlib/BasicConceptsGroup -.-> matplotlib/importing_matplotlib("Importing Matplotlib")
matplotlib/BasicConceptsGroup -.-> matplotlib/figures_axes("Understanding Figures and Axes")
matplotlib/PlottingDataGroup -.-> matplotlib/bar_charts("Bar Charts")
python/DataStructuresGroup -.-> python/lists("Lists")
python/DataStructuresGroup -.-> python/tuples("Tuples")
python/ModulesandPackagesGroup -.-> python/importing_modules("Importing Modules")
python/ModulesandPackagesGroup -.-> python/using_packages("Using Packages")
python/DataScienceandMachineLearningGroup -.-> python/numerical_computing("Numerical Computing")
python/DataScienceandMachineLearningGroup -.-> python/data_visualization("Data Visualization")
subgraph Lab Skills
matplotlib/importing_matplotlib -.-> lab-48572{{"Bar Diagramm mit Matplotlib erstellen"}}
matplotlib/figures_axes -.-> lab-48572{{"Bar Diagramm mit Matplotlib erstellen"}}
matplotlib/bar_charts -.-> lab-48572{{"Bar Diagramm mit Matplotlib erstellen"}}
python/lists -.-> lab-48572{{"Bar Diagramm mit Matplotlib erstellen"}}
python/tuples -.-> lab-48572{{"Bar Diagramm mit Matplotlib erstellen"}}
python/importing_modules -.-> lab-48572{{"Bar Diagramm mit Matplotlib erstellen"}}
python/using_packages -.-> lab-48572{{"Bar Diagramm mit Matplotlib erstellen"}}
python/numerical_computing -.-> lab-48572{{"Bar Diagramm mit Matplotlib erstellen"}}
python/data_visualization -.-> lab-48572{{"Bar Diagramm mit Matplotlib erstellen"}}
end