calamari.plot.plot_transitions#
- calamari.plot.plot_transitions(transitions, *, ax=None, field_unit='tesla', marker_by='method', color_by=None, markers=None, colors=None, connect=None, show_errors=True, legend=True, **style)#
Draw candidate coordinates without manufacturing a background map.
This is a physical temperature–field diagram, with temperature on x in Kelvin and applied field on y. Every supplied candidate is retained; no boundary is fitted or interpolated and no phase is assigned. Use
overlay_transitions()for rules on a sweep or for a map whose family coordinates may be indexed.- Parameters:
transitions (
object) – ATransitionResult, a pandas DataFrame, or a sequence of either, as inoverlay_transitions(). Coordinates areT_K(Kelvin) andH_T(Tesla), regardless of display units. Array-levelfind_transitionsresults lack these physical coordinates; usedetect_transitionsordetect_transitions_allinstead.ax (
Axes|None) – Axes to draw on; created when omitted. Existing axes must use physical coordinates, never indexed map rows.field_unit (
str) – Display unit for field coordinates and their errors. Tesla denotes applied mu0 H, without a demagnetisation correction.marker_by (
str|None) – Candidate columns encoding shape and colour; defaults to method shapes and white faces. Registry method markers agree with map overlays.color_by (
str|None) – Candidate columns encoding shape and colour; defaults to method shapes and white faces. Registry method markers agree with map overlays.markers (
dict|None) – Override mappings from column values to marker shapes or colours. Missing encodings form a drawable(missing)group; useNoneas its override key (NaN and pandas nullable values share this key).colors (
dict|None) – Override mappings from column values to marker shapes or colours. Missing encodings form a drawable(missing)group; useNoneas its override key (NaN and pandas nullable values share this key).connect (
str|None) – Only equal values of this explicitly named column are connected, in increasing temperature order (e.g.chain_idfromlink()). No connections are drawn by default; the column must identify one feature.show_errors (
bool) – DrawT_err_KandH_err_Twhere supplied. Missing columns or NaN entries give no bar in that direction; the point remains. These are detected-axis location standard errors, not fixed-axis spans or a complete systematic uncertainty budget (calibration, criterion and smoothing choices are not included).legend (
bool) – Show encoding groups and any recordedrobust()thresholds.**style (
Any) – Passed toAxes.errorbar, overriding marker and error-bar defaults. Marker lines are disabled; useconnectto state their grouping.
- Return type:
- Returns:
matplotlib.axes.Axes– The supplied or created axes. Group artists are available throughax.containersas matplotlibErrorbarContainerobjects.