Browse Source

Update output.rst

render_to_png() generates totally black PNG files for some people. This was discussed on Stack Overflow (https://stackoverflow.com/questions/24476029/pygal-rendering-png-svg-black-pictures/25360101#25360101). The proposed solution (tested) is being added to the PNG section of this page.
pull/293/head
Team Tofler 9 years ago
parent
commit
cf82e593b3
  1. 2
      docs/documentation/output.rst

2
docs/documentation/output.rst

@ -52,6 +52,8 @@ With cairosvg installed you can directly get the png file using ``render_to_png`
...
chart.render_to_png('/tmp/chart.png') # Write the chart in the specified file
In case of rendered image turning up black, installing lxml, tinycss and cssselect should fix the issue.
Etree
-----

Loading…
Cancel
Save