Skip to content

The solar_orbit_3d_plt.py doesn't work in the matplotlib 3.7.1 #1

@estevaofon

Description

@estevaofon

Hello, Andrew!
Beautiful project, thank you!

When I run in the matplotlib 3.7.1, I get the following error:
data ready Traceback (most recent call last): File "C:\Users\estev\.virtualenvs\orbit-2tpwiSJc\Lib\site-packages\matplotlib\cbook\__init__.py", line 304, in process func(*args, **kwargs) File "C:\Users\estev\.virtualenvs\orbit-2tpwiSJc\Lib\site-packages\matplotlib\animation.py", line 904, in _start self._init_draw() File "C:\Users\estev\.virtualenvs\orbit-2tpwiSJc\Lib\site-packages\matplotlib\animation.py", line 1748, in _init_draw self._draw_frame(frame_data) File "C:\Users\estev\.virtualenvs\orbit-2tpwiSJc\Lib\site-packages\matplotlib\animation.py", line 1767, in _draw_frame self._drawn_artists = self._func(framedata, *self._args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\estev\Documents\python_projects\orbit\solar_orbit_3d_plt.py", line 190, in update point_s.set_data_3d(dataset_s[0][num],dataset_s[1][num],dataset_s[2][num]) File "C:\Users\estev\.virtualenvs\orbit-2tpwiSJc\Lib\site-packages\mpl_toolkits\mplot3d\art3d.py", line 246, in set_data_3d raise RuntimeError(f'{name} must be a sequence') RuntimeError: x must be a sequence

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