lgonzalezsa
(Luis Rolando Gonzalez Sandoval)
August 20, 2022, 8:57pm
1
Was testing cross-referencing figures with nbdev and notice holoviz plots seems to cause issues during documentation rendering.
Seems seaborn plots are properly rendered but something happened to figure reference.
Here public repo with the code am using for testing.
How can I debug more to find out what could be the issue?
hamelsmu
(Hamel Husain)
August 21, 2022, 4:24am
2
Try making a pure quarto project to isolate if the issue is quarto
In a new directory create a quarto project:
quarto create-project test --type website
Put your notebook there
Some things like widgets and plots may need to be run to work, you can make this happen with the following front matter:
---
title: your-title
jupyter: python3
execute:
enabled: true
---
Run the command quarto preview
If you are able to reproduce the issue, this has nothing to do with nbdev. In that case, it might be good to file an issue with Quarto. Let us know what you find!
1 Like
lgonzalezsa
(Luis Rolando Gonzalez Sandoval)
August 22, 2022, 12:17am
3
Thanks @hamelsmu , created a pure Quarto minimal reproducible example and able to reproduce the issue.
Then created an issue in Quarto repository: Quarto not rendering Holoviz plots | Unable to display output for mime type(s): Β· Issue #2033 Β· quarto-dev/quarto-cli Β· GitHub
Will update as soon as I get feedback.
lgonzalezsa
(Luis Rolando Gonzalez Sandoval)
August 22, 2022, 2:10pm
4
Solution coming on Quarto version 1.1
opened 12:07AM - 22 Aug 22 UTC
closed 01:17PM - 22 Aug 22 UTC
bug
### Bug description
Creating quarto website with a Jupyter Notebook using Pyt⦠hon [Holoviz](https://holoviz.org/) plot but getting `Unable to display output for mime type(s):`
I also tested seaborn package and the plots render properly.
Do I need to configure a property for Holoviz plots to render properly with Quarto?
Please check my minimal reproducible example here:
https://lgonzalezsa.github.io/hello_quarto/testing.html#fig-plot
https://github.com/lgonzalezsa/hello_quarto/blob/main/test/testing.ipynb
### `quarto check` Output
```bash
[β] Checking Quarto installation......OK
Version: 1.0.38
Path: /opt/quarto/bin
[β] Checking basic markdown render....OK
[β] Checking Python 3 installation....OK
Version: 3.9.12 (Conda)
Path: /home/gonluisr/miniconda3/envs/conda_dev/bin/python
Jupyter: 4.10.0
Kernels: julia-(8-threads)-1.7, julia-1.7, python3
[β] Checking Jupyter engine render....OK
[β] Checking R installation...........(None)
Unable to locate an installed version of R.
Install R from https://cloud.r-project.org/
```
### `quarto tools check` Output
```bash
[β] Inspecting tools
Tool Status Installed Latest
chromium Not installed --- 869685
tinytex Not installed --- v2022.08
```
Linux OS:
```bash
OS: Pop!_OS 22.04 LTS x86_64
Kernel: 5.19.0-76051900-generic
```
### Checklist
- [X] [formatted your issue](https://yihui.org/issue/#please-format-your-issue-correctly) so it is easier for us to read?
- [X] included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] documented the quarto version you're running, by pasting the output from running `quarto check` in the "Quarto Check Output" text area?
- [X] documented the version of the quarto tools you're running, by providing the output from running `quarto tools check` in the "Quarto Tools Check Output" text area?
- [ ] documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] documented which operating system you're running? If on Linux, please provide the specific distribution as well.
- [ ] upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?
1 Like
seem
(Wasim Lorgat)
August 23, 2022, 2:03am
5
Fantastic! Btw, you can access Quarto pre-releases here: Quarto - Pre-release Builds . I have personally been using them for some time now without any issues, and have been benefiting from all the great improvements theyβve been making β but of course, the usual caveats apply as with any pre-release
1 Like