Einführung
In diesem Lab werden wir lernen, wie man mit der Matplotlib-Bibliothek in Python Balkendiagramme erstellt. Wir werden uns auf die Steuerung der Farbe der Balken und der Legendentexte konzentrieren. Dies wird uns helfen, ein visuell ansprechendes Diagramm zu erstellen, das leicht zu lesen und zu verstehen ist.
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 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/BasicConceptsGroup(["Basic Concepts"])
matplotlib(("Matplotlib")) -.-> matplotlib/PlottingDataGroup(["Plotting Data"])
python(("Python")) -.-> python/DataStructuresGroup(["Data Structures"])
matplotlib(("Matplotlib")) -.-> matplotlib/PlotCustomizationGroup(["Plot Customization"])
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/bar_charts("Bar Charts")
python/DataStructuresGroup -.-> python/lists("Lists")
python/DataStructuresGroup -.-> python/tuples("Tuples")
matplotlib/PlotCustomizationGroup -.-> matplotlib/legend_config("Legend Configuration")
python/ModulesandPackagesGroup -.-> python/importing_modules("Importing Modules")
python/DataScienceandMachineLearningGroup -.-> python/data_visualization("Data Visualization")
subgraph Lab Skills
matplotlib/importing_matplotlib -.-> lab-48571{{"Mit Matplotlib visuelle ansprechende Balkendiagramme erstellen"}}
matplotlib/figures_axes -.-> lab-48571{{"Mit Matplotlib visuelle ansprechende Balkendiagramme erstellen"}}
matplotlib/bar_charts -.-> lab-48571{{"Mit Matplotlib visuelle ansprechende Balkendiagramme erstellen"}}
python/lists -.-> lab-48571{{"Mit Matplotlib visuelle ansprechende Balkendiagramme erstellen"}}
python/tuples -.-> lab-48571{{"Mit Matplotlib visuelle ansprechende Balkendiagramme erstellen"}}
matplotlib/legend_config -.-> lab-48571{{"Mit Matplotlib visuelle ansprechende Balkendiagramme erstellen"}}
python/importing_modules -.-> lab-48571{{"Mit Matplotlib visuelle ansprechende Balkendiagramme erstellen"}}
python/data_visualization -.-> lab-48571{{"Mit Matplotlib visuelle ansprechende Balkendiagramme erstellen"}}
end