From 6f29e421fae2bdd4c28c9df89d6715e40cea807a Mon Sep 17 00:00:00 2001 From: Sebastien Morais Date: Thu, 23 May 2024 16:23:22 +0200 Subject: [PATCH] CHORE: Refactoring while lf webp --- pyaedt/modules/AdvancedPostProcessing.py | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/pyaedt/modules/AdvancedPostProcessing.py b/pyaedt/modules/AdvancedPostProcessing.py index 6b5650d6074..d3d3eb507af 100644 --- a/pyaedt/modules/AdvancedPostProcessing.py +++ b/pyaedt/modules/AdvancedPostProcessing.py @@ -340,20 +340,17 @@ def plot_field_from_fieldplot( project_path : str, optional Path for saving the image file. The default is ``""``. mesh_plot : bool, optional - Whether to create and plot the mesh over the fields. The - default is ``False``. + Whether to create and plot the mesh over the fields. The default is ``False``. image_format : str, optional - Format of the image file. Options are ``"jpg"``, - ``"png"``, ``"svg"``, and ``"webp"``. The default is - ``"jpg"``. + Format of the image file. Options are ``"jpg"``, ``"png"``, ``"svg"``, and ``"webp"``. + The default is ``"jpg"``. view : str, optional View to export. Options are ``"isometric"``, ``"xy"``, ``"xz"``, ``"yz"``. plot_label : str, optional Type of the plot. The default is ``"Temperature"``. plot_folder : str, optional Plot folder to update before exporting the field. - The default is ``None``, in which case all plot - folders are updated. + The default is ``None``, in which case all plot folders are updated. show : bool, optional Export Image without plotting on UI. scale_min : float, optional @@ -497,9 +494,8 @@ def plot_field( export_path : str, optional Image export path. Default is ``None`` to not export the image. image_format : str, optional - Format of the image file. Options are ``"jpg"``, - ``"png"``, ``"svg"``, and ``"webp"``. The default is - ``"jpg"``. + Format of the image file. Options are ``"jpg"``, ``"png"``, ``"svg"``, and ``"webp"``. + The default is ``"jpg"``. keep_plot_after_generation : bool, optional Either to keep the Field Plot in AEDT after the generation is completed. Default is ``False``. dark_mode : bool, optional