@@ -185,7 +185,7 @@ def test_04_far_field_data(self, local_scratch):
185185
186186 matplot_lib .traces_by_index [0 ].trace_style = "--"
187187 matplot_lib .x_scale = "log"
188- _ = matplot_lib .plot_2d ()
188+ _ = matplot_lib .plot_2d (show = False )
189189 matplot_lib .add_note (
190190 "Hello Pyaedt" ,
191191 [0 , - 10 ],
@@ -197,10 +197,10 @@ def test_04_far_field_data(self, local_scratch):
197197 matplot_lib .x_scale = "linear"
198198 matplot_lib .traces_by_index [0 ].trace_color = (1 , 0 , 0 )
199199 matplot_lib .grid_enable_minor_x = True
200- _ = matplot_lib .plot_2d ()
200+ _ = matplot_lib .plot_2d (show = False )
201201
202202 matplot_lib .traces ["Phi=-180" ].symbol_style = "v"
203- _ = matplot_lib .plot_2d ()
203+ _ = matplot_lib .plot_2d (show = False )
204204
205205 matplot_lib .apply_style ("dark_background" )
206206 matplot_lib .add_limit_line (
@@ -210,18 +210,17 @@ def test_04_far_field_data(self, local_scratch):
210210 },
211211 name = "LimitLine1" ,
212212 )
213- _ = matplot_lib .plot_2d ()
213+ _ = matplot_lib .plot_2d (show = False )
214214
215215 matplot_lib .traces_by_index [0 ].trace_color = (1 , 0 , 0 )
216216 matplot_lib .grid_enable_minor_x = True
217217
218218 matplot_lib .grid_enable_minor_x = False
219219 matplot_lib .grid_enable_minor_y = False
220220
221- _ = matplot_lib .plot_2d ()
221+ _ = matplot_lib .plot_2d (show = False )
222222
223223 @pytest .mark .avoid_ansys_load
224- @pytest .mark .skip (reason = "Skipping antenna plot test for now. To be investigated later." )
225224 def test_05_antenna_plot (self , array_test ):
226225 ffdata = array_test .get_antenna_data (sphere = "3D" )
227226 assert ffdata .setup_name == "Setup1 : LastAdaptive"
@@ -283,7 +282,6 @@ def test_05_antenna_plot(self, array_test):
283282 ffdata .farfield_data .plot_3d (quantity = "RealizedGain" , output_file = img5 , show = False )
284283 assert os .path .exists (img5 )
285284
286- @pytest .mark .skip (reason = "Skipping for now, to be investigated later." )
287285 def test_06_farfield_exporter (self , array_test ):
288286 ffdata = FfdSolutionDataExporter (
289287 array_test , sphere_name = "Infinite Sphere1" , setup_name = "Setup1 : LastAdaptive" , frequencies = ["3.5GHz" ]
0 commit comments