Einführung
Matplotlib ist eine Datenvisualisierungsbibliothek für Python. Es bietet eine Vielzahl von Tools zur Erstellung von statischen, animierten und interaktiven Visualisierungen in Python. Eine der interaktiven Funktionen von Matplotlib ist die Fähigkeit, zu erkennen, wenn die Maus in eine Figur oder eine Achse eintritt und verlässt. In diesem Lab werden wir lernen, wie man die Figure- und Axes-Eintritt/Austrittsevents von Matplotlib verwendet, um die Rahmenfarben der Figur und der Achse zu ändern.
VM-Tipps
Nachdem die VM gestartet 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 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 lösen.
Skills Graph
%%%%{init: {'theme':'neutral'}}%%%%
flowchart RL
python(("Python")) -.-> python/FunctionsGroup(["Functions"])
python(("Python")) -.-> python/ModulesandPackagesGroup(["Modules and Packages"])
matplotlib(("Matplotlib")) -.-> matplotlib/AdvancedTopicsGroup(["Advanced Topics"])
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")
python/DataStructuresGroup -.-> python/tuples("Tuples")
python/FunctionsGroup -.-> python/function_definition("Function Definition")
python/FunctionsGroup -.-> python/build_in_functions("Build-in Functions")
python/ModulesandPackagesGroup -.-> python/importing_modules("Importing Modules")
matplotlib/AdvancedTopicsGroup -.-> matplotlib/event_handling("Event Handling")
python/DataScienceandMachineLearningGroup -.-> python/data_visualization("Data Visualization")
subgraph Lab Skills
matplotlib/importing_matplotlib -.-> lab-48730{{"Matplotlib Figur- und Achsen-Eintritt/Austrittsevents"}}
matplotlib/figures_axes -.-> lab-48730{{"Matplotlib Figur- und Achsen-Eintritt/Austrittsevents"}}
python/tuples -.-> lab-48730{{"Matplotlib Figur- und Achsen-Eintritt/Austrittsevents"}}
python/function_definition -.-> lab-48730{{"Matplotlib Figur- und Achsen-Eintritt/Austrittsevents"}}
python/build_in_functions -.-> lab-48730{{"Matplotlib Figur- und Achsen-Eintritt/Austrittsevents"}}
python/importing_modules -.-> lab-48730{{"Matplotlib Figur- und Achsen-Eintritt/Austrittsevents"}}
matplotlib/event_handling -.-> lab-48730{{"Matplotlib Figur- und Achsen-Eintritt/Austrittsevents"}}
python/data_visualization -.-> lab-48730{{"Matplotlib Figur- und Achsen-Eintritt/Austrittsevents"}}
end