From d1638e9cc4ab3ad304fd235f260c4bb3ca75d2b2 Mon Sep 17 00:00:00 2001 From: Jordi De Jonghe Date: Mon, 8 Jan 2024 11:51:50 +0000 Subject: [PATCH] pylbo formatting dB1 --- post_processing/pylbo/visualisation/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/post_processing/pylbo/visualisation/utils.py b/post_processing/pylbo/visualisation/utils.py index 5b2d17a0..a5321abd 100644 --- a/post_processing/pylbo/visualisation/utils.py +++ b/post_processing/pylbo/visualisation/utils.py @@ -122,6 +122,7 @@ def ef_name_to_latex( ef_name = ef_name.replace("curl", "\\nabla\\times") ef_name = ef_name.replace("para", "\\parallel") ef_name = ef_name.replace("perp", "\\perp") + ef_name = ef_name.replace("dB", "B^\\prime") latex_name = rf"${ef_name}$" if part != "": latex_name = rf"{part}({latex_name})"