Python_matplotlib画图时图例说明(legend)放到图像外侧

用python的matplotlib画图时,每每须要加图例说明。若是不设置任何参数,默认是加到图像的内侧的最佳位置。html import matplotlib.pyplot as plt import numpy as np x = np.arange(10) fig = plt.figure() ax = plt.subplot(111) for i in xrange(5):
相关文章
相关标签/搜索