-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Hi there,
I've tried in a few different environments and I can't seem to get a cube plotting or saving. I have tried in a vscode notebook, with a python file and in google collab.
os mac M1
python version = 3.10.18
pip install lexcube
>>> import lexcube
>>> lexcube.__version__
'1.0.3'
My python file based on the example notebook:
import lexcube
import numpy as np
data_source = np.sum(np.mgrid[0:256,0:256,0:256], axis=0)
w = lexcube.Cube3DWidget(data_source, cmap="prism", vmin=0, vmax=768)
w.savefig('tmp.png')running this file prints out the following, but no file is saved to tmp.png:
When using Lexcube and generated images or videos, please acknowledge/cite: Söchting, M., Scheuermann, G., Montero, D., & Mahecha, M. D. (2025). Interactive Earth system data cube visualization in Jupyter notebooks. Big Earth Data, 1–15. https://doi.org/10.1080/20964471.2025.2471646
similarly, in a jupyter notebook I get the following. The plot is not showing, only the sliders. The file is also not saving:
Kind regards