Skip to content

Commit

Permalink
Fixed PlotBuilder.image lock_position
Browse files Browse the repository at this point in the history
Default value was True (image items
were movable!)
  • Loading branch information
PierreRaybaut committed Oct 3, 2023
1 parent 80429c1 commit df1744c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plotpy/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -1166,7 +1166,7 @@ def image(
x: numpy.ndarray | None = None,
y: numpy.ndarray | None = None,
lut_range: tuple[float, float] | None = None,
lock_position: bool = False,
lock_position: bool = True,
) -> ImageItem:
"""Make an image `plot item` from data
Expand Down

0 comments on commit df1744c

Please sign in to comment.