@@ -645,7 +645,7 @@ def plot_seeds(seeds, phases, domain, plot_files=[], plot_axes=True,
645645 for more details.
646646 domain (from :mod:`microstructpy.geometry`): Domain geometry.
647647 plot_files (list): *(optional)* List of files to save the output plot.
648- Defaults to saving the plot to ``polymesh .png``.
648+ Defaults to saving the plot to ``seeds .png``.
649649 plot_axes (bool): *(optional)* Flag to turn the axes on or off.
650650 True shows the axes, False removes them. Defaults to True.
651651 color_by (str): *(optional)* {'material' | 'seed number' |
@@ -660,7 +660,7 @@ def plot_seeds(seeds, phases, domain, plot_files=[], plot_axes=True,
660660
661661 """
662662 if not plot_files :
663- return
663+ plot_files = [ 'seeds.png' ]
664664
665665 phase_names = []
666666 given_names = False
@@ -778,7 +778,7 @@ def plot_poly(pmesh, phases, plot_files=['polymesh.png'], plot_axes=True,
778778
779779 """
780780 if not plot_files :
781- return
781+ plot_files = [ 'polymesh.png' ]
782782
783783 n_dim = len (pmesh .points [0 ])
784784
@@ -897,7 +897,7 @@ def plot_tri(tmesh, phases, seeds, pmesh, plot_files=[], plot_axes=True,
897897 seeds (SeedList): List of seed geometries.
898898 pmesh (PolyMesh): Polygonal mesh from which ``tmesh`` was generated.
899899 plot_files (list): *(optional)* List of files to save the output plot.
900- Defaults to saving the plot to ``polymesh .png``.
900+ Defaults to saving the plot to ``trimesh .png``.
901901 plot_axes (bool): *(optional)* Flag to turn the axes on or off.
902902 True shows the axes, False removes them. Defaults to True.
903903 color_by (str): *(optional)* {'material' | 'seed number' |
@@ -912,7 +912,7 @@ def plot_tri(tmesh, phases, seeds, pmesh, plot_files=[], plot_axes=True,
912912
913913 """
914914 if not plot_files :
915- return
915+ plot_files = [ 'trimesh.png' ]
916916
917917 n_dim = len (tmesh .points [0 ])
918918
0 commit comments