reservoirflow.utils.pyvista.get_text_locs#
- reservoirflow.utils.pyvista.get_text_locs(n: int, hloc: float, vloc: float, space: float) list #
Returns text locations for a pyvista plotter.
- Parameters:
n (int) – number of text lines.
hloc (float) – horizontal location of text lines.
vloc (float) – vertical location of text lines.
space (float) – spacing between text lines.
- Returns:
list of tuples as [(hloc, vloc), ..] based on n.
- Return type:
list