# -*- coding: utf-8 -*-
"""
-------------------------------------------------
   File Name：     LineChart
   Description :   折线图
   Author :        Liangz
   Date：          2018/10/18
-------------------------------------------------
   Change Activity:
                   2018/10/18:
-------------------------------------------------
"""
__author__ = 'Liangz'

import matplotlib.pyplot as plt

input_values = [1, 2, 3, 4, 5]
squares = [1, 4, 9, 16, 25]
plt.plot(input_values, squares, linewidth=5)
# plt.plot(squares, linewidth=5)

# 设置图表标题，并给坐标轴加上标签
plt.title("Square Numbers", fontsize = 24)
plt.xlabel("Value", fontsize=14)
plt.ylabel("Square of Value", fontsize=14)

# 设置刻度标记的大小
plt.tick_params(axis='both', labelsize=14)
plt.show()
