Skip to content

Commit

Permalink
improved detection/exclusion of spurious matplotlib plain text output
Browse files Browse the repository at this point in the history
  • Loading branch information
jjallaire committed Aug 19, 2023
1 parent 464285f commit 4961d39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions news/changelog-1.4.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
- ([#6344](https://github.com/quarto-dev/quarto-cli/issues/6344)): Somewhat improve the error message in case of YAML parsing errors in metadata of Python code cells.
- ([#6367](https://github.com/quarto-dev/quarto-cli/issues/6367)): Fix bug with nested code cells in the generation of Jupyter notebook from .qmd files.
- ([#6393](https://github.com/quarto-dev/quarto-cli/pull/6393)): Search `JULIA_HOME` for Julia-specific Python installations.
- Improved detection/exclusion of spurious matplotlib plain text output

## OJS engine

Expand Down
1 change: 1 addition & 0 deletions src/core/jupyter/jupyter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1617,6 +1617,7 @@ function isDiscadableTextExecuteResult(output: JupyterOutput) {
if (textPlain && textPlain.length) {
return [
"[<matplotlib",
"<matplotlib",
"<seaborn.",
"<ggplot:",
].some((startsWith) => textPlain[0].startsWith(startsWith));
Expand Down

0 comments on commit 4961d39

Please sign in to comment.