Skip to content

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

@HamsterHuey

Description

@HamsterHuey

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

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions