Einführung
Matplotlib ist eine Datenvisualisierungsbibliothek in Python, die eine Vielzahl von Tools und Techniken bietet, um visuell ansprechende Graphen zu erstellen. Manchmal ist es erforderlich, Platz für die y-Beschriftung zu schaffen, um das Textüberlappen oder -abschneiden zu vermeiden. In diesem Lab wird Ihnen gezeigt, wie Sie das axes_grid-Modul verwenden, um Platz für die y-Beschriftung in Matplotlib zu schaffen.
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 nutzen.
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 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
matplotlib(("Matplotlib")) -.-> matplotlib/BasicConceptsGroup(["Basic Concepts"])
python(("Python")) -.-> python/DataStructuresGroup(["Data Structures"])
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")
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/data_visualization("Data Visualization")
subgraph Lab Skills
matplotlib/importing_matplotlib -.-> lab-48817{{"Matplotlib - Platz für die Y-Beschriftung"}}
matplotlib/figures_axes -.-> lab-48817{{"Matplotlib - Platz für die Y-Beschriftung"}}
python/lists -.-> lab-48817{{"Matplotlib - Platz für die Y-Beschriftung"}}
python/tuples -.-> lab-48817{{"Matplotlib - Platz für die Y-Beschriftung"}}
python/importing_modules -.-> lab-48817{{"Matplotlib - Platz für die Y-Beschriftung"}}
python/using_packages -.-> lab-48817{{"Matplotlib - Platz für die Y-Beschriftung"}}
python/data_visualization -.-> lab-48817{{"Matplotlib - Platz für die Y-Beschriftung"}}
end