#!/usr/bin/env python
# -*- coding: utf-8 -*-
import matplotlib.pyplot as pyplot
squares = [1,4,9,16,25]
pyplot.plot(squares,linewidth=5)
# 设置图表标题,并给坐标轴加上标签
pyplot.title("Square Numbers",fontsize=24)
pyplot.xlabel("Value",fontsize=14)
pyplot.ylabel("Square of Value",fontsize=14)
#设置刻度标记的大小
pyplot.tick_params(axis="both",labelsize=14)
pyplot.show()