diff --git a/schainpy/model/graphics/mpldriver.py b/schainpy/model/graphics/mpldriver.py index c8d724f..cfc1d3c 100644 --- a/schainpy/model/graphics/mpldriver.py +++ b/schainpy/model/graphics/mpldriver.py @@ -330,8 +330,8 @@ def createPmultilineYAxis(ax, x, y, xmin, xmax, ymin, ymax, xlabel='', ylabel='' matplotlib.pyplot.ioff() # lines = ax.plot(x, y.T, marker=marker,markersize=markersize,linestyle=linestyle) - lines = ax.plot(x, y.T, linestyle=linestyle, marker=marker, markersize=markersize) - leg = ax.legend(lines, legendlabels, loc='upper left', bbox_to_anchor=(1.01, 1.00), numpoints=1, handlelength=1.5, \ + lines = ax.plot(x, y.T) + leg = ax.legend(lines, legendlabels, loc=1, bbox_to_anchor=(1.01, 1.00), numpoints=1, handlelength=1.5, \ handletextpad=0.5, borderpad=0.5, labelspacing=0.5, borderaxespad=0.) for label in leg.get_texts(): label.set_fontsize(9)