hamers / mse

Multiple Stellar Evolution -- A Population Synthesis Code for Multiple-Star Systems
GNU General Public License v3.0
9 stars 4 forks source link

Mobile diagram plotting - ValueError: need at least one array to concatenate #28

Closed pavanvyn closed 3 years ago

pavanvyn commented 3 years ago

I found another poltting error (version b1aa18219634329d0c3092c5a9b7d9487ed81f89).

configuration = "[2,2]"
N_bodies = 4
masses = [3.8185810756007745, 8.961776206419307, 8.875922471380392, 0.0818910846179762]
metallicities = [0.019090329816641598, 0.019090329816641598, 0.019090329816641598, 0.019090329816641598]
semimajor_axes = [111.82872269402648, 37.83261352955516, 3634.403287332339]
eccentricities = [0.4883658209526968, 0.1948852647292638, 0.43906171089340085]
inclinations = [0.676684821448654, 1.5698512422448085, 1.9830045124192537]
arguments_of_pericentre = [4.8665607051995075, 1.1664849935341755, 0.7689294976218852]
longitudes_of_ascending_node = [4.383333555209011, 5.71251976775718, 1.7944128191722075]
tend = 1.400000E+10
N_steps = 1000
stellar_types = [1, 1, 1, 1]
object_types = [1, 1, 1, 1]

Error:

/opt/python-3.7.2/lib/python3.7/site-packages/matplotlib/collections.py:874: RuntimeWarning: invalid value encountered in sqrt
  scale = np.sqrt(self._sizes) * dpi / 72.0 * self._factor