The most popular Python package for working on two-dimensional graphics and chart plotting is matplotlib. It provides a very quick way of data visualization in the form of different types of plots/charts. It also supports exporting of these plots into various formats. We will be starting the discussion of matplotlib with the basics and architecture, and then we will discuss the plotting of various types of charts using sample programs.
The most important matplotlib object is Figure
. It contains and manages all the elements of the given charts/graphics. matplotlib has separated the figure representation and manipulation activity from the rendering of Figure
to the user interface screen or the devices. This enables users to design and develop interesting features and logic, while the backend and device manipulation remains very simple. It supports graphics rendering for multiple devices and also supports event handling of popular user interface designing...