Closed
Description
from fastplotlib import Plot
import numpy as np
plot = Plot()
data = (np.random.rand(512, 512) * 255).astype(np.float32)
plot.image(data=data, vmin=0, vmax=255, cmap='gray')
plot.show()
The above pic shows a random image zoomed in. It's expected to see sharp corners for the black and white pixels, but it's not there so I guess there is default interpolation? Is there a way to turn it off? I did a quicky search but I couldn't find a way in either fastplotlib or pygfx.
Metadata
Metadata
Assignees
Labels
No labels