diff --git a/python/damask/_colormap.py b/python/damask/_colormap.py index 8f694ad45..51416f463 100644 --- a/python/damask/_colormap.py +++ b/python/damask/_colormap.py @@ -261,7 +261,7 @@ class Colormap(mpl.colors.ListedColormap): def _get_file_handle(self, fname: Union[TextIO, str, Path, None], - suffix: str) -> TextIO: + suffix: str = '') -> TextIO: """ Provide filehandle. @@ -270,7 +270,7 @@ class Colormap(mpl.colors.ListedColormap): fname : file, str, pathlib.Path, or None Filename or filehandle. If None, colormap name + suffix. - suffix: str + suffix: str, optional Extension to use for colormap filename. Returns