Esempio n. 1
0
    def save(self, name="geodesic.png"):
        """
        Method to save plots locally.

        Parameters
        ----------
        name : str, optional
            Name of the file with extension.
        """
        basename, ext = os.path.splitext(name)
        saveplot(self.fig, image=ext[1:], image_filename=basename, show_link=False)
Esempio n. 2
0
    def save(self, name="Geodesic.png"):
        """
        Saves plot locally

        Parameters
        ----------
        name : str, optional
            Name of the file, with extension
            Defaults to ``Geodesic.png``

        """
        basename, ext = os.path.splitext(name)

        saveplot(self.fig, image=ext[1:], image_filename=basename, show_link=False)