plot_spectrum_plotly¶
Render ctx.spectrum as a Plotly line figure.
| Category | Visualisation |
| Backend | plotly - renders figures with plotly (optional extra viz) |
| Version | 1.0.0 |
| Reads | ctx.spectrum (a Spectrum1D) |
| Writes | figures.spectrum |
Parameters¶
| Parameter | Default | Required | Description |
|---|---|---|---|
title |
'' |
- | Figure title; empty uses the spectrum's object name. |
show_uncertainty |
True |
- | Draw the uncertainty band when the spectrum has one. |
Use it¶
References¶
- Plotly — open-source graphing library, https://plotly.com/python/
Related algorithms¶
plot_3d_surface_plotly- Render every spectrum inctx.spectraas one row of a 3D surface.plot_animation_plotly- Render an animated Plotly figure that plays throughctx.spectra.plot_dynamic_spectrum- Render every spectrum inctx.spectraas one row of a 2D heatmap.plot_overlay_plotly- Render every spectrum inctx.spectraoverlaid on one Plotly figure.