Skip to content

Typo in example script README.md #5

@marie-cloet2000

Description

@marie-cloet2000

At line 84 in the README.md, there is written

cont_f1 = axes[0].contourf(X, Y, phi.get().reshape(X.shape))

However, phi is a numpy.ndarray type and hence does not support the method get() (which is probably from dataframes?).

I could resolve this by omitting the get(), such that the line reads now

cont_f1 = axes[0].contourf(X, Y, phi.reshape(X.shape))

This reproduces the example successfully.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions