@@ -24,9 +24,11 @@ class pieChart(NVD3Chart):
     Python example::
 
         from nvd3 import pieChart
-        chart = pieChart(name='pieChart', color_category='category20c', height=400, width=400)
+        chart = pieChart(name='pieChart', color_category='category20c',
+                         height=400, width=400)
 
-        xdata = ["Orange", "Banana", "Pear", "Kiwi", "Apple", "Strawberry", "Pineapple"]
+        xdata = ["Orange", "Banana", "Pear", "Kiwi", "Apple", "Strawbery",
+                 "Pineapple"]
         ydata = [3, 4, 0, 1, 5, 7, 3]
 
         extra_serie = {"tooltip": {"y_start": "", "y_end": " cal"}}
@@ -37,11 +39,18 @@ class pieChart(NVD3Chart):
 
     .. raw:: html
 
-        <div id="pieChart"><svg style="width:400px;height:400px;"></svg></div>
+        <div id="pieChart"><svg style="height:450px;"></svg></div>
         <script>
 
 
-            data_pieChart=[{"values": [{"value": 3, "label": "Orange"}, {"value": 4, "label": "Banana"}, {"value": 0, "label": "Pear"}, {"value": 1, "label": "Kiwi"}, {"value": 5, "label": "Apple"}, {"value": 7, "label": "Strawberry"}, {"value": 3, "label": "Pineapple"}], "key": "Serie 1"}];
+            data_pieChart=[{"values": [{"value": 3, "label": "Orange"},
+                           {"value": 4, "label": "Banana"},
+                           {"value": 0, "label": "Pear"},
+                           {"value": 1, "label": "Kiwi"},
+                           {"value": 5, "label": "Apple"},
+                           {"value": 7, "label": "Strawberry"},
+                           {"value": 3, "label": "Pineapple"}],
+                           "key": "Serie 1"}];
 
             nv.addGraph(function() {
                 var chart = nv.models.pieChart();
@@ -76,7 +85,8 @@ class pieChart(NVD3Chart):
     CHART_FILENAME = "./pie.html"
 
     template_environment = Environment(lstrip_blocks=True, trim_blocks=True)
-    template_environment.loader = FileSystemLoader(os.path.join(os.path.dirname(__file__), 'templates'))
+    template_environment.loader = FileSystemLoader(os.path.join(
+        os.path.dirname(__file__), 'templates'))
     template_chart_nvd3 = template_environment.get_template(CHART_FILENAME)
 
     def __init__(self, **kwargs):