Skip to content

Commit 6fd75bb

Browse files
committed
Fixed regression / numpy.matrix deprecation mgt
1 parent e2d85f8 commit 6fd75bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plotpy/panels/csection/csitem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def compute_oblique_section(item, obj, debug=False):
218218

219219
ixr = 0.5 * (ixb + ixa)
220220
iyr = 0.5 * (iyb + iya)
221-
mat = translate(ixr, iyr) * rotate(-angle) * translate(-0.5 * destw, -0.5 * desth)
221+
mat = translate(ixr, iyr) @ rotate(-angle) @ translate(-0.5 * destw, -0.5 * desth)
222222
_scale_tr(data, mat, dst_image, dst_rect, (1.0, 0.0, np.nan), (INTERP_LINEAR,))
223223

224224
if debug:

0 commit comments

Comments
 (0)