Fix hookspec of rasterize_pdf_page to remove default parameters

This commit is contained in:
James R. Barlow
2020-10-24 02:35:18 -07:00
parent 8c35d6e6e4
commit b5ccbfdf25
4 changed files with 15 additions and 10 deletions
+2 -2
View File
@@ -81,8 +81,8 @@ def rasterize_pdf(
raster_device: str,
raster_dpi: Resolution,
pageno: int = 1,
page_dpi: Resolution = None,
rotation: int = None,
page_dpi: Optional[Resolution] = None,
rotation: Optional[int] = None,
filter_vector: bool = False,
):
"""Rasterize one page of a PDF at resolution raster_dpi in canvas units."""