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

def Bio::Graphics::Comparative::ComparativeScatterPlot::_draw_title (   self,
  cur_drawing,
  title,
  width,
  height 
) [private]

Add a title to the page we are outputting.

Definition at line 77 of file Comparative.py.

00077                                                             :
        """Add a title to the page we are outputting.
        """
        title_string = String(width / 2, height - inch, title)
        title_string.fontName = 'Helvetica-Bold'
        title_string.fontSize = self.title_size
        title_string.textAnchor = "middle"

        cur_drawing.add(title_string)

    def _draw_scatter_plot(self, cur_drawing, x_start, y_start,


Generated by  Doxygen 1.6.0   Back to index