Apply image captions to the presentation.
(self)
| 34 | self.image_stats[pbasename(name)] = stat |
| 35 | |
| 36 | def apply_stats(self): |
| 37 | """ |
| 38 | Apply image captions to the presentation. |
| 39 | """ |
| 40 | for slide in self.presentation.slides: |
| 41 | for shape in slide.shape_filter(Picture): |
| 42 | stats = self.image_stats[pbasename(shape.img_path)] |
| 43 | shape.caption = stats["caption"] |
| 44 | |
| 45 | def caption_images(self): |
| 46 | """ |
no test coverage detected