Closed Vrroom closed 3 years ago
The svg parser will incorrectly parse colors such as 'green' and 'red' to black. This commit fixes that by using the code already written in matplotlib.colors module. For example, on an SVG like:
<svg width="100" height="100"> <circle cx="50" cy="50" r="40" stroke="green" stroke-width="4" fill="yellow" /> </svg>
The output of the master will be a black circle:
With this commit, the correct image will be rendered:
thanks!
The svg parser will incorrectly parse colors such as 'green' and 'red' to black. This commit fixes that by using the code already written in matplotlib.colors module. For example, on an SVG like:
The output of the master will be a black circle:
With this commit, the correct image will be rendered: