diff --git a/docs/basic_customizations.rst b/docs/basic_customizations.rst index 8c9c806..c076b69 100644 --- a/docs/basic_customizations.rst +++ b/docs/basic_customizations.rst @@ -34,7 +34,7 @@ By instanciating it Just import the `Config` class and instanciate it: -.. code-block:: +.. code-block:: python from pygal import Config @@ -52,7 +52,7 @@ By inheriting it Import the `Config` class and override it: -.. code-block:: +.. code-block:: python from pygal import Config @@ -72,7 +72,7 @@ Using keyword args As a shorthand for a one shot config, you can specify all config arguments as keyword args: -.. code-block:: +.. code-block:: python chart = pygal.XY(show_legend=False, human_readable=True, fill=True, x_scale=.25, y_scale=.25) ... diff --git a/docs/other_customizations.rst b/docs/other_customizations.rst index 9eac182..7244c9d 100644 --- a/docs/other_customizations.rst +++ b/docs/other_customizations.rst @@ -38,7 +38,7 @@ These lists contain absolute filenames and/or external URI. (Relative filenames Default: -.. code-block:: +.. code-block:: python css = ['style.css', 'graph.css'] js = [