matplotlib第二章学习笔记

一、概述

1、matplotlib的三层api

(1)绘图区

matplotlib.backend_bases.FigureCanvas

(2)渲染器

matplotlib.backend_bases.Renderer

(3)图表组建

matplotlib.artist.Artist

2、Artist分类

(1)primitives

基本要素,标准图形对象,如曲线Line2D、文字text、矩形Rectangle、图像image

(2)containers

容器,装基本要素的地方,如图形figure、坐标系Axes、坐标轴Axis。

你可能感兴趣的:(matplotlib第二章学习笔记)