Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
@generator
def hatched_gen(
filename: str,
levels,
scale: float,
interpolation: str,
blur: int,
pitch: int,
invert: bool,
circular: bool,
show_plot: bool,
):
"""
Generate hatched pattern from an image.
The hatches generated are in the coordinate of the input image. For example, a 100x100px
image with generate hatches whose bounding box coordinates are (0, 0, 100, 100). The