File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 351
351
# automatically generates certain Artists for the visualization even
352
352
# without assigned data.
353
353
#
354
-
354
+ #
355
355
# Explicit Figure and Axes unpacked from module function.
356
356
# No data transformed for visualizations.
357
357
fig , ax = plt .subplots ()
377
377
# configurable for more than one type of visualization of data. From the
378
378
# `Plotting`_ section above, the Axes in both explicit and implicit strategies
379
379
# contain multiple types of visualizations of data on a single Axes.
380
-
380
+ #
381
381
# Each of these types are specific to the Axes they are in. In the example, the
382
382
# two plots each have one Axes. These Axes each have multiple plot lines. The
383
383
# lines as objects are not shared between the two plots even though the data is
@@ -560,7 +560,6 @@ def autopct_format(percent, group):
560
560
561
561
# Explicit
562
562
563
-
564
563
fig , ax = plt .subplots ()
565
564
566
565
ax .pie (budget , colors = colors , labels = categories )
@@ -574,6 +573,8 @@ def autopct_format(percent, group):
574
573
#
575
574
#
576
575
576
+ # Implicit
577
+
577
578
plt .pie (budget , colors = colors , labels = categories )
578
579
plt .legend ()
579
580
plt .title ('Average Monthly Income Expenses' )
You can’t perform that action at this time.
0 commit comments