Closed rtkg closed 1 year ago
The plotter class refers to this file in the test directory, and not to a third-party package. For a quick solution, you could add this directory to your PYTHONPATH
, set sys.path
before import plotter
, or just copy-paste the file into the examples directory.
I'll add a comment / fix to make this more clear and easy to use. Thanks for catching that!
Perfect, thanks. One small additional note: I think the Path
class needs to be imported explicitly as well.
from pathlib import Path
Should be fixed now.
The first Python example fails when trying to plot with following error:
AttributeError: type object 'Plotter' has no attribute 'plot_trajectory'
I'm running Ubuntu 22.04 with version 1.3.20 of the Python Plotter library.