gwdetchar.plot module¶
Plotting utilities
- gwdetchar.plot.plot_segments(flag, span, facecolor='red', edgecolor='darkred', height=0.8, known={'alpha': 0.6, 'edgecolor': 'gray', 'facecolor': 'lightgray', 'height': 0.4})[source]¶
Plot the saturation segments contained within a flag
- gwdetchar.plot.texify(text)[source]¶
Helper utility to detect when LaTeX rendering is used, and convert text to a LaTeX-passable representation if necessary
- Parameters:
- textstr
text to convert to LaTeX representation
- Returns:
- outstr
either a copy or LaTeX representation of
text
See also
gwpy.plot.tex.label_to_latex
the underlying method to convert to a LaTeX representation