Refactor grid size calculation for improved accuracy
Switched from using np.round to np.ceil for block size calculation to ensure more accurate grid sizes. Additionally, replaced range with np.arange for consistent step intervals, and ensured rectangle positions use np.round for precise placement.
Please register or sign in to comment