Five steps to learn data visualization tool Matplotlib

Author: Zen and the Art of Computer Programming

1 Introduction

Matplotlib is Python's open source library for drawing charts, animating, saving images, and more. Matplotlib is a Python-based cross-platform statistical graphics library. It has powerful functions, flexible configuration, intuitive and easy to understand, and can meet various needs of users. Matplotlib's icon design is beautiful, the data visualization effect is cool, and it has comprehensive documentation support, which has a wide range of application prospects.
  This article will introduce the installation configuration and basic knowledge of Matplotlib in detail.

installation and configuration

  1. Install
 pip install matplotlib
  1. configuration
 import matplotlib as mpl
 # 设置字体风格
 mpl.rc('font', family='SimHei')
 # 解决中文显示问题
 plt

Guess you like

Origin blog.csdn.net/universsky2015/article/details/132053378