gunshotmatch_reports.utils
Utility functions.
Functions:
|
Extend list to the given length with fillvalue. |
|
Convert a matplotlib figure to a reportlab drawing. |
|
Save a PDF without a creation date. |
|
Save an SVG with fixed hashsalt and without a creation date. |
|
Scale reportlab.graphics.shapes.Drawing() object while maintaining aspect ratio. |
-
figure_to_drawing
(figure)[source] Convert a matplotlib figure to a reportlab drawing.
- Parameters
figure (
Figure
)- Return type
Drawing