Tarskin / MassyTools

A data processing tool for targeted high-throughput MALDI-MS data extraction.
Apache License 2.0
3 stars 4 forks source link

Add legend to plot or multiplot #12

Closed Timkil closed 8 years ago

Timkil commented 8 years ago

to include the legend of the opened files around line 2745 before the construction Area add in the "def plotData(self, data):"

self.line, = self.axes.plot(x_array, y_array,label=os.path.split(self.inputFile)[-1]) handles, labels = self.axes.get_legend_handles_labels() self.fig.legend(handles,labels)

Cheers Timkil