atcollab / at

Accelerator Toolbox
Apache License 2.0
48 stars 31 forks source link

Correct the axis definition in plot_sigma #648

Closed lfarv closed 10 months ago

lfarv commented 10 months ago

The axis definition at input of plot_sigma uses the incorrect 'xp' code instead of 'px'. Accordingly, the axis labels on the plot also display x' instead of px.

This is corrected here by using the at.axis_() function, allowing one of: 1, 'px' or 'PX' to describe the px axis (and so on…)

'xp' is still accepted for compatibility.