Skip to content

Line 77, x is not defined error #9

@pdeitel

Description

@pdeitel

I downloaded the code and tried to run it. I am getting

Traceback (most recent call last):
File "code/cube_interactive.py", line 46, in
class Cube:
File "code/cube_interactive.py", line 77, in Cube
for theta in (np.pi / 2, -np.pi / 2)]
File "code/cube_interactive.py", line 77, in
for theta in (np.pi / 2, -np.pi / 2)]
NameError: name 'x' is not defined

Any idea why?

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