Skip to content

Trouble with 3d functionality #369

Description

@McEnigma24

Numpy was not working properly, but after putting

pip uninstall numpy
pip install "numpy<2"

it was resolved. You can add this to README

But i got this error after running
./surface
terminate called after throwing an instance of 'std::runtime_error'
what(): No axis
Aborted (core dumped)

Other examples worked except for:
./nonblock
terminate called after throwing an instance of 'std::runtime_error'
what(): Call to subplot() failed.
Aborted (core dumped)

./lines3d
terminate called after throwing an instance of 'std::runtime_error'
what(): No axis
Aborted (core dumped)

3d functionality does not work and with WITHOUT_NUMPY defined it does not even compile

In function ‘int main()’:
surface.cpp:22:10: error: ‘plot_surface’ is not a member of ‘plt’
22 | plt::plot_surface(x, y, z);
| ^~~~~~~~~~~~

Activity

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

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