Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Trouble with 3d functionality #369

Open

Description

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);
| ^~~~~~~~~~~~

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

        AltStyle によって変換されたページ (->オリジナル) /