Skip to content

Commit c879ec8

Browse files
committed
Merge branch 'release/v0.13.1'
2 parents 7ea5a33 + d701188 commit c879ec8

20 files changed

Lines changed: 137 additions & 118 deletions

‎examples/demo_all.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
#---------------------------------------
6060

6161
type = "pie Chart"
62-
chart = pieChart(name=type ,color_category='category20c', height=400,
62+
chart = pieChart(name=type, color_category='category20c', height=400,
6363
width=400, jquery_on_ready=True)
6464
chart.set_containerheader("\n\n<h2>" + type + "</h2>\n\n")
6565

‎nvd3/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Project location : https://github.com/areski/python-nvd3
1010
"""
1111

12-
__version__ = '0.13.0'
12+
__version__ = '0.13.1'
1313
__all__ = ['lineChart', 'pieChart', 'lineWithFocusChart',
1414
'stackedAreaChart', 'multiBarHorizontalChart',
1515
'linePlusBarChart', 'cumulativeLineChart',

‎nvd3/cumulativeLineChart.py‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from .NVD3Chart import NVD3Chart, TemplateMixin
1313

1414

15-
class CumulativeLineChart(TemplateMixin, NVD3Chart):
15+
class cumulativeLineChart(TemplateMixin, NVD3Chart):
1616
"""
1717
A cumulative line chart is used when you have one important grouping representing
1818
an ordered set of data and one value to show, summed over time.
@@ -81,7 +81,7 @@ class CumulativeLineChart(TemplateMixin, NVD3Chart):
8181
template_chart_nvd3 = NVD3Chart.template_environment.get_template(CHART_FILENAME)
8282

8383
def __init__(self, **kwargs):
84-
super(CumulativeLineChart, self).__init__(**kwargs)
84+
super(cumulativeLineChart, self).__init__(**kwargs)
8585
self.model = 'cumulativeLineChart'
8686

8787
height = kwargs.get('height', 450)
@@ -102,5 +102,3 @@ def __init__(self, **kwargs):
102102
self.set_graph_height(height)
103103
if width:
104104
self.set_graph_width(width)
105-
106-
cumulativeLineChart = CumulativeLineChart

‎nvd3/discreteBarChart.py‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from .NVD3Chart import NVD3Chart, TemplateMixin
1313

1414

15-
class DiscreteBarChart(TemplateMixin, NVD3Chart):
15+
class discreteBarChart(TemplateMixin, NVD3Chart):
1616
"""
1717
A discrete bar chart or bar graph is a chart with rectangular bars with
1818
lengths proportional to the values that they represent.
@@ -68,7 +68,7 @@ class DiscreteBarChart(TemplateMixin, NVD3Chart):
6868
template_chart_nvd3 = NVD3Chart.template_environment.get_template(CHART_FILENAME)
6969

7070
def __init__(self, **kwargs):
71-
super(DiscreteBarChart, self).__init__(**kwargs)
71+
super(discreteBarChart, self).__init__(**kwargs)
7272
self.model = 'discreteBarChart'
7373
height = kwargs.get('height', 450)
7474
width = kwargs.get('width', None)
@@ -89,5 +89,3 @@ def __init__(self, **kwargs):
8989
self.set_graph_height(height)
9090
if width:
9191
self.set_graph_width(width)
92-
93-
discreteBarChart = DiscreteBarChart

‎nvd3/lineChart.py‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from .NVD3Chart import NVD3Chart, TemplateMixin
1313

1414

15-
class LineChart(TemplateMixin, NVD3Chart):
15+
class lineChart(TemplateMixin, NVD3Chart):
1616

1717
"""
1818
A line chart or line graph is a type of chart which displays information
@@ -89,7 +89,7 @@ class LineChart(TemplateMixin, NVD3Chart):
8989
template_chart_nvd3 = NVD3Chart.template_environment.get_template(CHART_FILENAME)
9090

9191
def __init__(self, **kwargs):
92-
super(LineChart, self).__init__(**kwargs)
92+
super(lineChart, self).__init__(**kwargs)
9393
self.model = 'lineChart'
9494

9595
height = kwargs.get('height', 450)
@@ -118,5 +118,3 @@ def __init__(self, **kwargs):
118118
self.set_graph_height(height)
119119
if width:
120120
self.set_graph_width(width)
121-
122-
lineChart = LineChart

‎nvd3/linePlusBarChart.py‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from .NVD3Chart import NVD3Chart, TemplateMixin
1313

1414

15-
class LinePlusBarChart(TemplateMixin, NVD3Chart):
15+
class linePlusBarChart(TemplateMixin, NVD3Chart):
1616

1717
"""
1818
A linePlusBarChart Chart is a type of chart which displays information
@@ -95,7 +95,7 @@ class LinePlusBarChart(TemplateMixin, NVD3Chart):
9595
template_chart_nvd3 = NVD3Chart.template_environment.get_template(CHART_FILENAME)
9696

9797
def __init__(self, **kwargs):
98-
super(LinePlusBarChart, self).__init__(**kwargs)
98+
super(linePlusBarChart, self).__init__(**kwargs)
9999
self.model = 'linePlusBarChart'
100100

101101
height = kwargs.get('height', 450)
@@ -124,5 +124,3 @@ def __init__(self, **kwargs):
124124
self.set_graph_height(height)
125125
if width:
126126
self.set_graph_width(width)
127-
128-
linePlusBarChart = LinePlusBarChart

‎nvd3/linePlusBarWithFocusChart.py‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from .NVD3Chart import NVD3Chart, TemplateMixin
1313

1414

15-
class LinePlusBarWithFocusChart(TemplateMixin, NVD3Chart):
15+
class linePlusBarWithFocusChart(TemplateMixin, NVD3Chart):
1616
"""
1717
A linePlusBarWithFocusChart Chart is a type of chart which displays information
1818
as a series of data points connected by straight line segments
@@ -98,7 +98,7 @@ class LinePlusBarWithFocusChart(TemplateMixin, NVD3Chart):
9898
template_chart_nvd3 = NVD3Chart.template_environment.get_template(CHART_FILENAME)
9999

100100
def __init__(self, **kwargs):
101-
super(LinePlusBarWithFocusChart, self).__init__(**kwargs)
101+
super(linePlusBarWithFocusChart, self).__init__(**kwargs)
102102
self.model = 'linePlusBarWithFocusChart'
103103

104104
height = kwargs.get('height', 450)
@@ -149,5 +149,3 @@ def __init__(self, **kwargs):
149149
self.set_graph_height(height)
150150
if width:
151151
self.set_graph_width(width)
152-
153-
linePlusBarWithFocusChart = LinePlusBarWithFocusChart

‎nvd3/lineWithFocusChart.py‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from .NVD3Chart import NVD3Chart, TemplateMixin
1313

1414

15-
class LineWithFocusChart(TemplateMixin, NVD3Chart):
15+
class lineWithFocusChart(TemplateMixin, NVD3Chart):
1616
"""
1717
A lineWithFocusChart or line graph is a type of chart which displays information
1818
as a series of data points connected by straight line segments.
@@ -76,7 +76,7 @@ class LineWithFocusChart(TemplateMixin, NVD3Chart):
7676
template_chart_nvd3 = NVD3Chart.template_environment.get_template(CHART_FILENAME)
7777

7878
def __init__(self, **kwargs):
79-
super(LineWithFocusChart, self).__init__(**kwargs)
79+
super(lineWithFocusChart, self).__init__(**kwargs)
8080
self.model = 'lineWithFocusChart'
8181

8282
height = kwargs.get('height', 450)
@@ -103,5 +103,3 @@ def __init__(self, **kwargs):
103103
self.set_graph_height(height)
104104
if width:
105105
self.set_graph_width(width)
106-
107-
lineWithFocusChart = LineWithFocusChart

‎nvd3/multiBarChart.py‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from .NVD3Chart import NVD3Chart, TemplateMixin
1313

1414

15-
class MultiBarChart(TemplateMixin, NVD3Chart):
15+
class multiBarChart(TemplateMixin, NVD3Chart):
1616
"""
1717
A multiple bar graph contains comparisons of two or more categories or bars.
1818
One axis represents a quantity and the other axis identifies a specific feature
@@ -75,7 +75,7 @@ class MultiBarChart(TemplateMixin, NVD3Chart):
7575
template_chart_nvd3 = NVD3Chart.template_environment.get_template(CHART_FILENAME)
7676

7777
def __init__(self, **kwargs):
78-
super(MultiBarChart, self).__init__(**kwargs)
78+
super(multiBarChart, self).__init__(**kwargs)
7979

8080
height = kwargs.get('height', 450)
8181
width = kwargs.get('width', None)
@@ -93,5 +93,3 @@ def __init__(self, **kwargs):
9393
self.set_graph_height(height)
9494
if width:
9595
self.set_graph_width(width)
96-
97-
multiBarChart = MultiBarChart

‎nvd3/multiBarHorizontalChart.py‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from .NVD3Chart import NVD3Chart, TemplateMixin
1313

1414

15-
class MultiBarHorizontalChart(TemplateMixin, NVD3Chart):
15+
class multiBarHorizontalChart(TemplateMixin, NVD3Chart):
1616
"""
1717
A multiple horizontal bar graph contains comparisons of two or more categories or bars.
1818
@@ -88,7 +88,7 @@ class MultiBarHorizontalChart(TemplateMixin, NVD3Chart):
8888
template_chart_nvd3 = NVD3Chart.template_environment.get_template(CHART_FILENAME)
8989

9090
def __init__(self, **kwargs):
91-
super(MultiBarHorizontalChart, self).__init__(**kwargs)
91+
super(multiBarHorizontalChart, self).__init__(**kwargs)
9292
height = kwargs.get('height', 450)
9393
width = kwargs.get('width', None)
9494

@@ -98,5 +98,3 @@ def __init__(self, **kwargs):
9898
self.set_graph_height(height)
9999
if width:
100100
self.set_graph_width(width)
101-
102-
multiBarHorizontalChart = MultiBarHorizontalChart

0 commit comments

Comments
 (0)