Matplotlib is a Python library for creating visualizations. It offers a code-based route for data visualization alongside options such as Seaborn and Plotly. section 1.5.3
Fruit data as a bar chart
A small example turns fruit data into a bar chart with about 18 lines of Python, including nine lines containing the data. The chart uses Matplotlib’s defaults; a horizontal version was left out because the example required substantially more complicated code. section 1.5.3
Inspect the default-styled Matplotlib bar chart built from the fruit data. section 1.5.3



