plot_contour_line_segments¶
- FermiSurface.plot_contour_line_segments(contour_data: dict, label: str | None = None, cmap: str = 'plasma', norm: Normalize | None = None, clim: tuple = (None, None), linewidth: float = 0.2, linestyle: str = 'solid', color: str = 'k', alpha: float = 1.0, line_collection_kwargs: dict | None = None)[source]¶
Plot contour line segments from contour data.
- Parameters:
contour_data (dict) – Dictionary containing contour lines and scalars data.
label (str, optional) – Label for the plot legend, by default None.
cmap (str, optional) – Colormap name, by default “plasma”.
norm (matplotlib.colors.Normalize, optional) – Normalization instance for color mapping, by default None.
clim (tuple of float, optional) – Color limits as (vmin, vmax), by default (None, None).
linewidth (float, optional) – Width of the contour lines, by default 0.2.
linestyle (str, optional) – Style of the contour lines, by default “solid”.
color (str, optional) – Color of the lines when not using scalar coloring, by default “k”.
alpha (float, optional) – Transparency level (0-1), by default 1.0.
line_collection_kwargs (dict, optional) – Additional kwargs for LineCollection, by default None.
- Returns:
list – List of matplotlib LineCollection handles.