Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions