Closed melissawm closed 4 days ago
Also - should all links pointing to the deleted rendering-explanation
document now link to rendering
?
Odd that the CircleCI previews built. and napari.org/dev seems ok?
Let's see what happens here: https://github.com/napari/docs/actions/runs/9718326742/job/26825951263?pr=437
EDIT: Oh no, it looks like something local? Maybe some dependency, and the CI is using the constraints??
There it is: https://github.com/napari/docs/actions/runs/9718326742/job/26825951263?pr=437#step:9:884
napari.org/dev seems ok?
That's because the error is in the notebook's last cell, and this cell is not shown in the notebook so the output looks ok. But if you run the commands on that page you should be able to reproduce
I'm taking a look at the error.
Error is caused by the following line
viewer.layers[0] = Image(mean_data, colormap=viewer.layers[0].colormap)
That doesn't error itself, but directly replacing a layer means that the corresponding vispy layer is never created (among other things). Not sure if napari is supposed to support this in-place mutation, but it's easy to change the doc example to work by adding the mean image layer instead.
Fix in #441
π Bug
The Rendering guide is currently broken, with the following output when running the last cell:
Environment
This is napari and napari/docs from main, and I tried executing the steps in the guide separately (not while building the docs) and got the same result.