easyplot icon indicating copy to clipboard operation
easyplot copied to clipboard

Adding plots with 2D array as y parameter results in error

Open HamsterHuey opened this issue 9 years ago • 0 comments

Results in following error:

C:\Anaconda\lib\site-packages\easyplot\easyplot.pyc in add_plot(self, *args, **kwargs)
    177                 line, = ppl.plot(ax, *self.args, **plot_kwargs)
    178             else:
--> 179                 line, = ax.plot(*self.args, **plot_kwargs)
    180 
    181             self.line_list.append(line)

ValueError: too many values to unpack

add_plot currently assumes only single line2D object will be returned which is only true if y parameter to plotting methods is 1-Dimensional

HamsterHuey avatar Mar 24 '15 15:03 HamsterHuey