Plot 1D Visualization#
Summary#
Publish a Plotly-compatible 1D data plot payload.
Metadata#
Module ID: Plot1DVisualization
Module path: /home/runner/work/MoDaCor/MoDaCor/src/modacor/modules/base_modules/plot_1d_visualization.py
Module version: 20260903.1
Keywords: plot, visualization, plotly, 1d
Required data keys#
None
Modifies#
None
Required arguments#
target
x_path
y_path
Default configuration#
{
"auto_log_x": true,
"auto_log_y": true,
"error_bar_opacity": 0.65,
"error_bar_thickness": 2.0,
"error_bar_width": 3,
"legend_marker_size": 9,
"target": "",
"title": null,
"uirevision": null,
"x_path": "",
"x_units": null,
"xerr_path": null,
"xerr_uncertainty_names": null,
"y_path": "",
"y_units": null,
"yerr_path": null,
"yerr_uncertainty_names": null
}
Argument specification#
Argument |
Type |
Required |
Default |
Dependency role |
Description |
|---|---|---|---|---|---|
|
bool |
No |
True |
- |
Use a logarithmic x axis when all valid x values are positive. |
|
bool |
No |
True |
- |
Use a logarithmic y axis when all valid y values are positive. |
|
int or float |
No |
0.65 |
- |
Error bar opacity encoded in the error bar colour. |
|
int or float |
No |
2.0 |
- |
Plotly error bar line thickness. |
|
int or float |
No |
3 |
- |
Plotly error bar cap width. |
|
int or float |
No |
9 |
- |
Marker size for legend-only uncertainty entries. |
|
str |
Yes |
- |
Sink target in the form ‘plot_sink::plot_id’. |
|
|
str or NoneType |
No |
- |
- |
Optional plot title. |
|
str or NoneType |
No |
- |
- |
Stable Plotly UI revision key. Keep unchanged to preserve zoom/pan during live updates. |
|
str |
Yes |
- |
ProcessingData path for the x array. |
|
|
str or NoneType |
No |
- |
- |
Optional display units for x values and x error bars. |
|
str or NoneType |
No |
- |
- |
Optional ProcessingData path for x error bars. |
|
list or str or NoneType |
No |
- |
- |
Optional uncertainty-name fallbacks below the x BaseData. |
|
str |
Yes |
- |
ProcessingData path for the y array. |
|
|
str or NoneType |
No |
- |
- |
Optional display units for y values and y error bars. |
|
str or NoneType |
No |
- |
- |
Optional ProcessingData path for y error bars. |
|
list or str or NoneType |
No |
- |
- |
Optional uncertainty-name fallbacks below the y BaseData. |
Notes#
This step performs a visualization side-effect and returns an empty output dict.