Skip to content

Commit

Permalink
DOC: Update code in README.rst.
Browse files Browse the repository at this point in the history
  • Loading branch information
WarrenWeckesser committed Sep 13, 2021
1 parent a8df914 commit 161dfcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ The script::


def bits_to_image(bits, blocksize=32, color=None):
bits = np.asarray(bits, dtype=np.bool)
bits = np.asarray(bits, dtype=bool)
if color is None:
color = np.array([255, 0, 0], dtype=np.uint8)
else:
Expand Down

0 comments on commit 161dfcd

Please sign in to comment.