docs/userguide/platdemos.py
changeset 320 7a4ca2b5bb89
parent 256 0dedfa161b21
child 336 c0fcae4341cf
--- a/docs/userguide/platdemos.py	Tue Jul 04 10:50:33 2000 +0000
+++ b/docs/userguide/platdemos.py	Tue Jul 04 22:22:40 2000 +0000
@@ -22,7 +22,11 @@
         self.figureHeight = height
         self.captionHeight = 0  # work out later
         self.caption = None
-        self.captionStyle = ParagraphStyle('Default')
+        self.captionStyle = ParagraphStyle('Caption',
+                       fontName='Times-Italic',
+                       fontSize=12,
+                       spaceBefore=6,
+                       alignment=TA_CENTER)
         self.spaceBefore = 12
         self.spaceAfter = 12
 
@@ -73,7 +77,7 @@
 
 class PageFigure(Figure):
     """Shows a blank page in a frame, and draws on that.  Used in
-    illustrations."""
+    illustrations of how PLATYPUS works."""
     def __init__(self):
         Figure.__init__(self, 3*inch, 3*inch)
         self.caption = 'Figure 1 - a blank page'