Skip to content

Commit 49e16a8

Browse files
committed
update README
1 parent f0dd0a1 commit 49e16a8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎README.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ After installation use python-nvd3 as follows ::
3939
output_file = open('test-nvd3.html', 'w')
4040

4141
type = 'pieChart'
42-
chart = pieChart(name=type, height=450, width=450)
42+
chart = pieChart(name=type, color_category='category20c', height=450, width=450)
4343
chart.set_containerheader("\n\n<h2>" + type + "</h2>\n\n")
4444

4545
#Create the keys

‎docs/source/includes/introduction.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ After installation use python-nvd3 as follows ::
5353
output_file = open('test-nvd3.html', 'w')
5454

5555
type = 'pieChart'
56-
chart = pieChart(name=type, height=450, width=450)
56+
chart = pieChart(name=type, color_category='category20c', height=450, width=450)
5757
chart.set_containerheader("\n\n<h2>" + type + "</h2>\n\n")
5858

5959
xdata = ["Orange", "Banana", "Pear", "Kiwi", "Apple", "Strawberry", "Pineapple"]

0 commit comments

Comments
 (0)