Skip to content

Zoom is broken with wx+pygfx #116

@gselzer

Description

@gselzer

Running a slightly modified version of numpy_arr.py to force wx+pygfx:

from __future__ import annotations

import ndv
import os

os.environ["NDV_GUI_FRONTEND"] = "wx"
os.environ["NDV_CANVAS_BACKEND"] = "pygfx"

try:
    img = ndv.data.cells3d()
except Exception as e:
    print(e)
    img = ndv.data.nd_sine_wave((10, 3, 8, 512, 512))

viewer = ndv.imshow(img)

Rotating the mouse wheel once transports you to a galaxy far far away ⭐

20250122-0402-52.4435720.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions