File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ def to_show_cells(self) -> pyvista.Plotter:
4646 """
4747
4848 plot = pyvista .Plotter ()
49+ plot .add_axes ()
4950 # vis = self.inp.draw()
5051 # plot.add_mesh(vis.data)
5152
@@ -57,6 +58,7 @@ def to_show_surfaces(self) -> pyvista.Plotter:
5758 """
5859
5960 plot = pyvista .Plotter ()
61+ plot .add_axes ()
6062 vis = self .inp .draw ()
6163 plot .add_mesh (vis .data )
6264
@@ -85,6 +87,7 @@ def to_pdf_surfaces(self, path: str | pathlib.Path):
8587 """
8688
8789 plot = pyvista .Plotter ()
90+ plot .add_axes ()
8891 vis = self .inp .draw ()
8992 plot .add_mesh (vis .data )
9093
@@ -122,7 +125,7 @@ def main() -> None:
122125 plot = visualize .to_show_cells ()
123126
124127 if 'PYTEST_CURRENT_TEST' not in os .environ : # pragma: no cover
125- plot .plot ()
128+ plot .show ()
126129
127130 else :
128131 if args ['--pdf' ]:
@@ -131,6 +134,6 @@ def main() -> None:
131134 plot = visualize .to_show_surfaces ()
132135
133136 if 'PYTEST_CURRENT_TEST' not in os .environ : # pragma: no cover
134- plot .plot ()
137+ plot .show ()
135138
136139 _io .done ()
You can’t perform that action at this time.
0 commit comments