简介
Matplotlib 是 Python 中一个强大的数据可视化库。它用于为数据分析创建高质量的图表、图形和图像。在本实验中,我们将学习如何使用 Matplotlib 以不同单位调整图形大小。
虚拟机使用提示
虚拟机启动完成后,点击左上角切换到“笔记本”标签页,以访问 Jupyter Notebook 进行练习。
有时,你可能需要等待几秒钟让 Jupyter Notebook 完成加载。由于 Jupyter Notebook 的限制,操作验证无法自动化。
如果你在学习过程中遇到问题,随时向 Labby 提问。课程结束后提供反馈,我们会及时为你解决问题。
Skills Graph
%%%%{init: {'theme':'neutral'}}%%%%
flowchart RL
python(("Python")) -.-> python/ModulesandPackagesGroup(["Modules and Packages"])
python(("Python")) -.-> python/DataScienceandMachineLearningGroup(["Data Science and Machine Learning"])
python(("Python")) -.-> python/BasicConceptsGroup(["Basic Concepts"])
python(("Python")) -.-> python/DataStructuresGroup(["Data Structures"])
matplotlib(("Matplotlib")) -.-> matplotlib/AdvancedTopicsGroup(["Advanced Topics"])
linux(("Linux")) -.-> linux/PackagesandSoftwaresGroup(["Packages and Softwares"])
matplotlib(("Matplotlib")) -.-> matplotlib/BasicConceptsGroup(["Basic Concepts"])
matplotlib/BasicConceptsGroup -.-> matplotlib/importing_matplotlib("Importing Matplotlib")
matplotlib/BasicConceptsGroup -.-> matplotlib/figures_axes("Understanding Figures and Axes")
python/BasicConceptsGroup -.-> python/comments("Comments")
python/DataStructuresGroup -.-> python/lists("Lists")
python/DataStructuresGroup -.-> python/tuples("Tuples")
python/ModulesandPackagesGroup -.-> python/importing_modules("Importing Modules")
matplotlib/AdvancedTopicsGroup -.-> matplotlib/matplotlib_config("Customizing Matplotlib Configurations")
linux/PackagesandSoftwaresGroup -.-> linux/pip("Python Package Installing")
python/DataScienceandMachineLearningGroup -.-> python/data_visualization("Data Visualization")
subgraph Lab Skills
matplotlib/importing_matplotlib -.-> lab-48731{{"图形大小单位"}}
matplotlib/figures_axes -.-> lab-48731{{"图形大小单位"}}
python/comments -.-> lab-48731{{"图形大小单位"}}
python/lists -.-> lab-48731{{"图形大小单位"}}
python/tuples -.-> lab-48731{{"图形大小单位"}}
python/importing_modules -.-> lab-48731{{"图形大小单位"}}
matplotlib/matplotlib_config -.-> lab-48731{{"图形大小单位"}}
linux/pip -.-> lab-48731{{"图形大小单位"}}
python/data_visualization -.-> lab-48731{{"图形大小单位"}}
end