Replies: 3 comments 3 replies
-
I suspect this is a compatibility issue with a newer version of either matplotlib or numpy - can you please let us know what version of matplotlib and numpy you have installed?
Can you also send more of the traceback (if there is more information displayed showing where that |
Beta Was this translation helpful? Give feedback.
-
Here versions: matplotlib.version='3.7.2' numpy.version='1.24.3' more of traceback: File ~\anaconda3\envs\my_phoebe\lib\site-packages\spyder_kernels\py3compat.py:356 in compat_exec File c:\users\carlo\onedrive\carlo personale\documents\carlo\astronomia\binarie\programmi\tutorial solver.py:38 File ~\anaconda3\envs\my_phoebe\lib\site-packages\phoebe\parameters\parameters.py:5955 in plot File ~\anaconda3\envs\my_phoebe\lib\site-packages\phoebe\parameters\parameters.py:6073 in _show_or_save File ~\anaconda3\envs\my_phoebe\lib\site-packages\phoebe\dependencies\autofig\figure.py:606 in draw File ~\anaconda3\envs\my_phoebe\lib\site-packages\phoebe\dependencies\autofig\axes.py:1250 in draw File ~\anaconda3\envs\my_phoebe\lib\site-packages\phoebe\dependencies\autofig\call.py:1097 in draw ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (2,) + inhomogeneous part. |
Beta Was this translation helpful? Give feedback.
-
Hi, I downgraded matplotlib and numpy: it does work ! a question: with previous versions, the error I get only concerns the display and not the correctness of the results obtained, correct? thanks a lot |
Beta Was this translation helpful? Give feedback.
-
Good morning,
I have a very basic question....I'm running the tutorial http://phoebe-project.org/docs/2.4/tutorials/solver but I can't completely reproduce the graph immediately following the instruction:
_ = b.plot(solution='my_lcgeom_solution', show=True)
The graph is shown but the vertical lines, both dotted and solid, do not appear.
I also get the error:
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (2,) + inhomogeneous part.
could you help me?
thanks
Beta Was this translation helpful? Give feedback.
All reactions