Commit 4fe24853 authored by's avatar
Browse files

Convert theta bin edges to degrees when making labels

parent ca5458b6
......@@ -76,7 +76,7 @@ THETA_BIN_CENTERS = _compute_bin_centers(THETA_BINS)
"""Number of bins in theta."""
THETA_BIN_LABELS = [f"{x:.0f}" for x in THETA_BINS]
THETA_BIN_LABELS = [f"{x:.0f}" for x in np.degrees(THETA_BINS)]
"""Labels for theta bin edges, for use in plotting routines. Can be given in degrees or radians. Set the units to match."""
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment