How to use the pyani.scripts.subcommands.subcmd_plot function in pyani

To help you get started, we’ve selected a few pyani examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github widdowquinn / pyani / tests / test_subcmd_06_plot.py View on Github external
def test_plot_seaborn_png(self):
        """Test PNG output from Matplotlib."""
        subcommands.subcmd_plot(self.argsdict["seaborn_png"])
        plt.close("all")
github widdowquinn / pyani / tests / test_subcmd_06_plot.py View on Github external
def test_plot_seaborn_pdf(self):
        """Test PDF output from Matplotlib."""
        subcommands.subcmd_plot(self.argsdict["seaborn_pdf"])
        plt.close("all")
github widdowquinn / pyani / tests / test_subcmd_06_plot.py View on Github external
def test_plot_mpl_png(self):
        """Test PNG output from Matplotlib."""
        subcommands.subcmd_plot(self.argsdict["mpl_png"])
        plt.close("all")
github widdowquinn / pyani / tests / test_subcmd_06_plot.py View on Github external
def test_plot_mpl_jpg(self):
        """Test JPG output from Matplotlib."""
        subcommands.subcmd_plot(self.argsdict["mpl_jpg"])
        plt.close("all")
github widdowquinn / pyani / tests / test_subcmd_06_plot.py View on Github external
def test_plot_seaborn_svg(self):
        """Test SVG output from Matplotlib."""
        subcommands.subcmd_plot(self.argsdict["seaborn_svg"])
        plt.close("all")
github widdowquinn / pyani / tests / test_subcmd_06_plot.py View on Github external
def test_plot_mpl_pdf(self):
        """Test PDF output from Matplotlib."""
        subcommands.subcmd_plot(self.argsdict["mpl_pdf"])
        plt.close("all")
github widdowquinn / pyani / tests / test_subcmd_06_plot.py View on Github external
def test_plot_mpl_svg(self):
        """Test SVG output from Matplotlib."""
        subcommands.subcmd_plot(self.argsdict["mpl_svg"])
        plt.close("all")
github widdowquinn / pyani / pyani / scripts / parsers.py View on Github external
parser.add_argument(
        "--formats",
        dest="formats",
        action="store",
        default="png",
        help="graphics output format (seaborn/mpl)",
    )
    parser.add_argument(
        "--method",
        dest="method",
        action="store",
        default="seaborn",
        help="graphics method to use for plotting",
        choices=["seaborn", "mpl", "plotly"],
    )
    parser.set_defaults(func=subcommands.subcmd_plot)
github widdowquinn / pyani / pyani / scripts / parsers / plot_parser.py View on Github external
parser.add_argument(
        "--formats",
        dest="formats",
        action="store",
        default="png",
        help="graphics output format (pdf/png/svg/jpg)",
    )
    parser.add_argument(
        "--method",
        dest="method",
        action="store",
        default="seaborn",
        help="graphics method to use for plotting",
        choices=["seaborn", "mpl", "plotly"],
    )
    parser.set_defaults(func=subcommands.subcmd_plot)