JuliaPy / JuliaPy/PyPlot.jl

Typo in /home/$USER/.julia/packages/PyPlot/$HASH/src/colormaps.jl:176

Open
#517 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
488
Forks
90
PR merge metrics
No merged PRs in 30d

Description

Emacs signals the error `Error parsing SVG image: Invalid XML declaration` when trying to display the result of evaluating of the Org-mode block:

```julia
#+begin_src jupyter-julia
get_cmap("RdGy")
#+end_src
```
This is because of the typo in the file `colormaps.jl`. The line number 176:

```xml

```
needs to be changed to:
```xml

```

Contributor guide

No contributing guide indexed for this repository

Research direction

Open the referenced colormaps.jl file and inspect line 176, then run the shown jupyter-julia Org-mode block to reproduce the SVG parsing error. Done means the XML declaration is valid and evaluating get_cmap("RdGy") no longer produces the invalid-declaration error.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
data-visualization
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.