random.shuffle(sequence_containing_x_vals)
random.shuffle(sequence_containing_y_vals)
random.shuffle(sequence_containing_z_vals)
ax.scatter(sequence_containing_x_vals, sequence_containing_y_vals,
    sequence_containing_z_vals)
pyplot.show()
Как сделать 3D-диаграмму рассеяния в Python?