From 0ce63ed8be014c1cc8b0d9b75c52d21e0fea7b36 Mon Sep 17 00:00:00 2001 From: Florian Mounier Date: Mon, 6 Jun 2016 11:53:27 +0200 Subject: [PATCH] Fix documentation, fix #323 --- docs/documentation/configuration/serie.rst | 4 ++-- docs/documentation/configuration/value.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/documentation/configuration/serie.rst b/docs/documentation/configuration/serie.rst index 7f7db5d..6890d7d 100644 --- a/docs/documentation/configuration/serie.rst +++ b/docs/documentation/configuration/serie.rst @@ -9,8 +9,8 @@ Series are customized using keyword args set in the ``add`` function: .. code-block:: python chart = pygal.Line() - chart.add([1, 2, 3], fill=True) - chart.add([3, 2, 1], dot=False) + chart.add('', [1, 2, 3], fill=True) + chart.add('', [3, 2, 1], dot=False) diff --git a/docs/documentation/configuration/value.rst b/docs/documentation/configuration/value.rst index 1505b80..af9d459 100644 --- a/docs/documentation/configuration/value.rst +++ b/docs/documentation/configuration/value.rst @@ -9,8 +9,8 @@ Values are customized by replacing the value with a dictionary containing the va .. code-block:: python chart = pygal.Line() - chart.add([1, {'value': 2, 'label': 'two'}, 3]) - chart.add([3, 2, 1]) + chart.add('', [1, {'value': 2, 'label': 'two'}, 3]) + chart.add('', [3, 2, 1]) Labels