Skip to content

Commit e886351

Browse files
committed
Add labels to Pie Chart.
1 parent c9f96dc commit e886351

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mathics/builtin/drawing/plot.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -863,8 +863,8 @@ class PieChart(_Chart):
863863
<li>SectorSpacing" (default Automatic)
864864
</ul>
865865
866-
A pie chart for a list of values:
867-
>> PieChart[Range[4]]
866+
A hypothetical comparsion between types of pets owned:
867+
>> PieChart[{30, 20, 10}, ChartLabels -> {Dogs, Cats, Fish}]
868868
= -Graphics-
869869
870870
A doughnut chart for a list of values:
@@ -2199,7 +2199,7 @@ class PolarPlot(_Plot):
21992199
u"""
22002200
<dl>
22012201
<dt>'PolarPlot[$r$, {$t$, $t_min$, $t_max$}]'
2202-
<dd>creates a polar plot of curve with radious $r$ as a function of angle $t$ ranging from $t_min$ to $t_max$.
2202+
<dd>creates a polar plot of curve with radius $r$ as a function of angle $t$ ranging from $t_min$ to $t_max$.
22032203
</dl>
22042204
22052205
>> PolarPlot[Cos[5\\[Theta]], {\\[Theta], 0, Pi}]

0 commit comments

Comments
 (0)