If the user chooses to plot a reference with a Carrington longitude greater than 180, and then changes the coordinate system to Stoneyhurst, this causes a streamlit.errors.StreamlitAPIException. Probably because the same reference longitude value is still used, but Stoneyhurst longitudes are defined from -180 to 180 (in contrast to 0 to 360 for Carrington).
The other way around (selecting a Stoneyhurst longitude <0, then changing to Carrington) is caught by the system, showing a pop-up notification "Please select a value that is no less than 0."
If the user chooses to plot a reference with a Carrington longitude greater than 180, and then changes the coordinate system to Stoneyhurst, this causes a
streamlit.errors.StreamlitAPIException
. Probably because the same reference longitude value is still used, but Stoneyhurst longitudes are defined from -180 to 180 (in contrast to 0 to 360 for Carrington).1st step:
2nd step: