- Mastering matplotlib
- Duncan M. McGreggor
- 247字
- 2021-07-16 14:11:21
Chapter 2. The matplotlib Architecture
As software systems age, they tend to undergo a natural evolution through processes such as feature addition and debugging. The resultant codebase embodies the familiar tension between maintaining the old code and at the same time offering the end users an improved product. Architectures for long-term projects are not something that were originally carved in stone and adhered to monomaniacally ever since. Rather, they are living, adaptive concepts that guide the plans and activities of a project's contributors.
The matplotlib module arose out of such an environment, and it has continuous goals of refining and improving its architecture and updating its older bits to follow the best practices of and the latest advances in not only the project itself, but also the wider Python community over the years since its inception.
In this chapter, we will perform the following tasks:
- Review the original design goals of matplotlib and explore its evolution
- Examine the current architecture at a high level using the metaphors put forth by the core developers of matplotlib
- Dive into the details of the three major layers of the matplotlib architecture
- Explore the matplotlib namespace in relation to the architectural layers
- Create a dependency graph for a standard matplotlib script to gain additional insight on a project's structure in relation to the user scripts
- Take a look at the additional packages that were not a part of the matplotlib release and identify their connection with the overall architecture
- Deploying Node.js
- 兩周自制腳本語言
- NLTK基礎教程:用NLTK和Python庫構建機器學習應用
- CouchDB and PHP Web Development Beginner’s Guide
- SSM輕量級框架應用實戰
- Mastering JBoss Enterprise Application Platform 7
- Visual FoxPro程序設計
- Getting Started with Gulp
- Creating Stunning Dashboards with QlikView
- 基于ARM Cortex-M4F內核的MSP432 MCU開發實踐
- Learning Apache Karaf
- Go語言精進之路:從新手到高手的編程思想、方法和技巧(2)
- Natural Language Processing with Python Quick Start Guide
- 從Excel到Python數據分析:Pandas、xlwings、openpyxl、Matplotlib的交互與應用
- Mastering Embedded Linux Programming