grapa.shared.string_manipulations
@author: Romain Carron Copyright (c) 2026, Empa, Laboratory for Thin Films and Photovoltaics, Romain Carron
Functions
|
Format a string according to formatting using python string Template, with curve attributes as variables. |
|
Converts a list to a string with suitable formatting |
|
Converts a rest restructured text (e.g. docstring) into text, to be e.g. printed into the grapa console. |
|
Converts a string into variable, based on ast.literal_eval, but trying otherwise if fails |
|
Tries its best to unescape special characters. |
|
Deprecated. |
|
Converts a variable into str, ready to be displayed by the GUI |
Classes
|
Custom string Template to be able to specify key together with formatting |
text are draw onto plot as Annotations |