Logo Search packages:      
Sourcecode: python-biopython version File versions  Download package

def test_GenomeDiagram::SigilsTest::test_labels (   self )
Feature labels.

Definition at line 360 of file test_GenomeDiagram.py.

                         :
        """Feature labels."""
        self.add_track_with_sigils(label=True)
        self.add_track_with_sigils(label=True, color="green",
                                   label_size=25, label_angle=0)
        self.add_track_with_sigils(label=True, color="purple",
                                   label_position="end",
                                   label_size=4, label_angle=90)
        self.add_track_with_sigils(label=True, color="blue",
                                   label_position="middle",
                                   label_size=6, label_angle=-90)
        self.assertEqual(len(self.gdd.tracks), 4)
        self.finish("GD_sigil_labels", circular=False)


Generated by  Doxygen 1.6.0   Back to index