File: 2754.bugfix

package info (click to toggle)
qutip 5.2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 7,684 kB
  • sloc: python: 45,351; cpp: 456; makefile: 175; sh: 16
file content (1 line) | stat: -rw-r--r-- 357 bytes parent folder | download
1
Fix color ordering for single points in Bloch sphere. Previously, when plotting a single point on a Bloch sphere via `Bloch.add_points(colors=...)` or by modifying `Bloch.point_color`, the color list could become mismatched with the point order after internal sorting. This fix ensures colors are reordered correctly, eliminating miscoloring. (Fixes #2681)