I tried plotting image data of tiff arrays (150,500,500) and so far none of the plotting techniques worked out. I find it frustrating since Fiji imageJ with bioformats can handle everything very fast and is plotting nice images aswell.
Can you help me understanding the problem?
In my example
`
import plotly.graph_objects as go
import numpy as np
import plotly.io as pio
pio.renderers.default='browser' #I am using spyder, I found this to enable plot
sh=100 #scaling parameter, below 100 it works, above 150 exceeds a timeour error
X, Y, Z = np.mgrid[-1:1:sh*1j, -1:1:sh*1j, -1:1:sh*1j]
x=X.flatten()
y=Y.flatten()
z=Z.flatten()
data = np.linspace(0,15,len(z)).astype(int)
np.random.shuffle(data) #mimics data similar to mine
fig= go.Figure(data=go.Isosurface(
x=x,
y=y,
z=z,
value=data,
isomin=1,
isomax=2,#porous material
))
fig.show()
`