JuliaPy / PyPlot.jl

Plotting for Julia based on matplotlib.pyplot
https://github.com/JuliaPy/PyPlot.jl
MIT License
478 stars 88 forks source link

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

Open jurta opened 3 years ago

jurta commented 3 years ago

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

#+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 version"1.0" encoding="UTF-8"?>

needs to be changed to:

        <?xml version="1.0" encoding="UTF-8"?>
samuela commented 3 years ago

Why not just submit a PR for this?

jurta commented 3 years ago

Why not just submit a PR for this?

Now created a PR #528 . Please merge it.