manipulation icon indicating copy to clipboard operation
manipulation copied to clipboard

Add path to RenderDiagram for Ch2, Ex _01_reflected_inertia

Open Jakeisthesnake opened this issue 1 year ago • 0 comments

[Note: I'm quite the beginner]

Got the following error when trying to visualize the block diagram: Execution error NameError: name 'RenderDiagram' is not defined

After adding path to utils, the error went away and the program displayed the proper diagram.

Aside: the follow edit looked cleaner and appeared to also solve the issue, but I wasn't sure if there was a reason for importing running_as_notebook from manipulation instead of from manipulation.utils modified line: from manipulation import running_as_notebook to: from manipulation.utils import running_as_notebook, RenderDiagram


This change is Reviewable

Jakeisthesnake avatar Apr 10 '24 18:04 Jakeisthesnake