Einführung
In diesem Lab werden wir lernen, wie wir den Stil von Text und Beschriftungen in einem Matplotlib-Graphen mithilfe eines Wörterbuchs steuern können. Indem wir ein Wörterbuch mit Optionen erstellen, können wir Parameter zwischen mehreren Textobjekten und Beschriftungen teilen. Dies wird es uns ermöglichen, die Schriftfamilie, -farbe, -gewichte und -größe im Graphen einfach anzupassen.
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 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
matplotlib(("Matplotlib")) -.-> matplotlib/PlotCustomizationGroup(["Plot Customization"])
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"])
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/line_plots("Line Plots")
python/DataStructuresGroup -.-> python/tuples("Tuples")
python/DataStructuresGroup -.-> python/dictionaries("Dictionaries")
matplotlib/PlotCustomizationGroup -.-> matplotlib/titles_labels("Adding Titles and Labels")
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-48983{{"Anpassen des Textstils in Matplotlib-Graphen"}}
matplotlib/figures_axes -.-> lab-48983{{"Anpassen des Textstils in Matplotlib-Graphen"}}
matplotlib/line_plots -.-> lab-48983{{"Anpassen des Textstils in Matplotlib-Graphen"}}
python/tuples -.-> lab-48983{{"Anpassen des Textstils in Matplotlib-Graphen"}}
python/dictionaries -.-> lab-48983{{"Anpassen des Textstils in Matplotlib-Graphen"}}
matplotlib/titles_labels -.-> lab-48983{{"Anpassen des Textstils in Matplotlib-Graphen"}}
python/importing_modules -.-> lab-48983{{"Anpassen des Textstils in Matplotlib-Graphen"}}
python/numerical_computing -.-> lab-48983{{"Anpassen des Textstils in Matplotlib-Graphen"}}
python/data_visualization -.-> lab-48983{{"Anpassen des Textstils in Matplotlib-Graphen"}}
end