@@ -14,7 +14,7 @@
 import os
 
 
-class multiBarHorizontalChart(NVD3Chart):
+class MultiBarHorizontalChart(TemplateMixin, NVD3Chart):
     """
     A multiple horizontal bar graph contains comparisons of two or more categories or bars.
 
@@ -85,21 +85,6 @@ class multiBarHorizontalChart(NVD3Chart):
         </script>
 
     """
-    def __init__(self, **kwargs):
-        NVD3Chart.__init__(self, **kwargs)
-        height = kwargs.get('height', 450)
-        width = kwargs.get('width', None)
-
-        self.create_x_axis('xAxis', format=kwargs.get('x_axis_format', '.2f'))
-        self.create_y_axis('yAxis', format=kwargs.get('y_axis_format', '.2f'))
-        # must have a specified height, otherwise it superimposes both chars
-        if height:
-            self.set_graph_height(height)
-        if width:
-            self.set_graph_width(width)
-
-
-class MultiBarHorizontalChart(TemplateMixin, NVD3Chart):
 
     CHART_FILENAME = "./multibarcharthorizontal.html"
     template_environment = Environment(lstrip_blocks=True, trim_blocks=True)
@@ -113,10 +98,9 @@ def __init__(self, **kwargs):
 
         self.create_x_axis('xAxis', format=kwargs.get('x_axis_format', '.2f'))
         self.create_y_axis('yAxis', format=kwargs.get('y_axis_format', '.2f'))
-        # must have a specified height, otherwise it superimposes both chars
 
         self.set_graph_height(height)
-
         if width:
             self.set_graph_width(width)
 
+multiBarHorizontalChart = MultiBarHorizontalChart