valid_glue_display_unit#

jdaviz.core.unit_conversion_utils.valid_glue_display_unit(unit_str, viewer, axis='x')[source]#

Return the canonical glue-formatted string for unit_str by matching it against the valid choices for the given viewer axis.