diff --git a/docs/documentation/output.rst b/docs/documentation/output.rst index 6ec69472..05b35840 100644 --- a/docs/documentation/output.rst +++ b/docs/documentation/output.rst @@ -52,14 +52,14 @@ 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. +In case of rendered image turning up black, installing tinycss2 and cssselect2 should fix the issue. Etree ----- -It is possible to get the xml etree root element of the chart (or lxml etree node if lxml is installed) by calling the ``render_tree`` method: +It is possible to get the xml etree root element of the chart by calling the ``render_tree`` method: .. code-block:: python diff --git a/docs/installing.rst b/docs/installing.rst index d32f509f..1340d339 100644 --- a/docs/installing.rst +++ b/docs/installing.rst @@ -23,8 +23,7 @@ There are no required dependency. Optional dependencies are as follow: - * ``lxml`` which can improve rendering speed (except on pypy). - * ``cairosvg``, ``tinycss``, ``cssselect`` to render png. + * ``cairosvg``, ``tinycss2``, ``cssselect2`` to render png. Git Repository @@ -45,7 +44,7 @@ Linux Distribution Packages Pygal has been packaged for: -- `Fedora `_ +- `Fedora `_ - `Gentoo `_ - `Ubuntu `_ - `Debian `_